custom static method

Insertable<ChatItemRow> custom({
  1. Expression<String>? id,
  2. Expression<String>? chatId,
  3. Expression<String>? authorId,
  4. Expression<int>? at,
  5. Expression<int>? status,
  6. Expression<String>? data,
  7. Expression<String>? cursor,
  8. Expression<String>? ver,
  9. Expression<int>? rowid,
})

Implementation

static Insertable<ChatItemRow> custom({
  Expression<String>? id,
  Expression<String>? chatId,
  Expression<String>? authorId,
  Expression<int>? at,
  Expression<int>? status,
  Expression<String>? data,
  Expression<String>? cursor,
  Expression<String>? ver,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (chatId != null) 'chat_id': chatId,
    if (authorId != null) 'author_id': authorId,
    if (at != null) 'at': at,
    if (status != null) 'status': status,
    if (data != null) 'data': data,
    if (cursor != null) 'cursor': cursor,
    if (ver != null) 'ver': ver,
    if (rowid != null) 'rowid': rowid,
  });
}