ChatItemsCompanion.insert constructor

ChatItemsCompanion.insert({
  1. required String id,
  2. required String chatId,
  3. required String authorId,
  4. required PreciseDateTime at,
  5. required SendingStatus status,
  6. required String data,
  7. Value<String?> cursor = const Value.absent(),
  8. required String ver,
  9. Value<int> rowid = const Value.absent(),
})

Implementation

ChatItemsCompanion.insert({
  required String id,
  required String chatId,
  required String authorId,
  required PreciseDateTime at,
  required SendingStatus status,
  required String data,
  this.cursor = const Value.absent(),
  required String ver,
  this.rowid = const Value.absent(),
})  : id = Value(id),
      chatId = Value(chatId),
      authorId = Value(authorId),
      at = Value(at),
      status = Value(status),
      data = Value(data),
      ver = Value(ver);