ChatMembersCompanion.insert constructor

ChatMembersCompanion.insert({
  1. required String userId,
  2. required String chatId,
  3. required PreciseDateTime joinedAt,
  4. Value<String?> cursor = const Value.absent(),
  5. Value<int> rowid = const Value.absent(),
})

Implementation

ChatMembersCompanion.insert({
  required String userId,
  required String chatId,
  required PreciseDateTime joinedAt,
  this.cursor = const Value.absent(),
  this.rowid = const Value.absent(),
})  : userId = Value(userId),
      chatId = Value(chatId),
      joinedAt = Value(joinedAt);