toCompanion method

ChatMembersCompanion toCompanion(
  1. 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),
  );
}