copyWith method

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

Implementation

ChatItemsCompanion copyWith(
    {Value<String>? id,
    Value<String>? chatId,
    Value<String>? authorId,
    Value<PreciseDateTime>? at,
    Value<SendingStatus>? status,
    Value<String>? data,
    Value<String?>? cursor,
    Value<String>? ver,
    Value<int>? rowid}) {
  return ChatItemsCompanion(
    id: id ?? this.id,
    chatId: chatId ?? this.chatId,
    authorId: authorId ?? this.authorId,
    at: at ?? this.at,
    status: status ?? this.status,
    data: data ?? this.data,
    cursor: cursor ?? this.cursor,
    ver: ver ?? this.ver,
    rowid: rowid ?? this.rowid,
  );
}