toCompanion method
- bool nullToAbsent
Implementation
ChatMembersCompanion toCompanion(bool nullToAbsent) {
return ChatMembersCompanion(
userId: Value(userId),
chatId: Value(chatId),
joinedAt: Value(joinedAt),
cursor: cursor == null && nullToAbsent
? const Value.absent()
: Value(cursor),
);
}