custom static method

Insertable<ChatRow> custom({
  1. Expression<String>? id,
  2. Expression<String>? avatar,
  3. Expression<String>? name,
  4. Expression<String>? members,
  5. Expression<int>? kindIndex,
  6. Expression<bool>? isHidden,
  7. Expression<String>? muted,
  8. Expression<String>? directLink,
  9. Expression<int>? createdAt,
  10. Expression<int>? updatedAt,
  11. Expression<String>? lastReads,
  12. Expression<int>? lastDelivery,
  13. Expression<String>? firstItem,
  14. Expression<String>? lastItem,
  15. Expression<String>? lastReadItem,
  16. Expression<int>? unreadCount,
  17. Expression<int>? totalCount,
  18. Expression<String>? ongoingCall,
  19. Expression<double>? favoritePosition,
  20. Expression<int>? membersCount,
  21. Expression<String>? ver,
  22. Expression<String>? lastItemCursor,
  23. Expression<String>? lastReadItemCursor,
  24. Expression<String>? recentCursor,
  25. Expression<String>? favoriteCursor,
  26. Expression<int>? rowid,
})

Implementation

static Insertable<ChatRow> custom({
  Expression<String>? id,
  Expression<String>? avatar,
  Expression<String>? name,
  Expression<String>? members,
  Expression<int>? kindIndex,
  Expression<bool>? isHidden,
  Expression<String>? muted,
  Expression<String>? directLink,
  Expression<int>? createdAt,
  Expression<int>? updatedAt,
  Expression<String>? lastReads,
  Expression<int>? lastDelivery,
  Expression<String>? firstItem,
  Expression<String>? lastItem,
  Expression<String>? lastReadItem,
  Expression<int>? unreadCount,
  Expression<int>? totalCount,
  Expression<String>? ongoingCall,
  Expression<double>? favoritePosition,
  Expression<int>? membersCount,
  Expression<String>? ver,
  Expression<String>? lastItemCursor,
  Expression<String>? lastReadItemCursor,
  Expression<String>? recentCursor,
  Expression<String>? favoriteCursor,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (avatar != null) 'avatar': avatar,
    if (name != null) 'name': name,
    if (members != null) 'members': members,
    if (kindIndex != null) 'kind_index': kindIndex,
    if (isHidden != null) 'is_hidden': isHidden,
    if (muted != null) 'muted': muted,
    if (directLink != null) 'direct_link': directLink,
    if (createdAt != null) 'created_at': createdAt,
    if (updatedAt != null) 'updated_at': updatedAt,
    if (lastReads != null) 'last_reads': lastReads,
    if (lastDelivery != null) 'last_delivery': lastDelivery,
    if (firstItem != null) 'first_item': firstItem,
    if (lastItem != null) 'last_item': lastItem,
    if (lastReadItem != null) 'last_read_item': lastReadItem,
    if (unreadCount != null) 'unread_count': unreadCount,
    if (totalCount != null) 'total_count': totalCount,
    if (ongoingCall != null) 'ongoing_call': ongoingCall,
    if (favoritePosition != null) 'favorite_position': favoritePosition,
    if (membersCount != null) 'members_count': membersCount,
    if (ver != null) 'ver': ver,
    if (lastItemCursor != null) 'last_item_cursor': lastItemCursor,
    if (lastReadItemCursor != null)
      'last_read_item_cursor': lastReadItemCursor,
    if (recentCursor != null) 'recent_cursor': recentCursor,
    if (favoriteCursor != null) 'favorite_cursor': favoriteCursor,
    if (rowid != null) 'rowid': rowid,
  });
}