custom static method
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,
})
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,
});
}