custom static method
Insertable<MyUserRow>
custom({ - Expression<String>? id,
- Expression<String>? num,
- Expression<String>? login,
- Expression<String>? name,
- Expression<String>? bio,
- Expression<bool>? hasPassword,
- Expression<String>? emails,
- Expression<String>? phones,
- Expression<String>? chatDirectLink,
- Expression<int>? unreadChatsCount,
- Expression<String>? status,
- Expression<String>? avatar,
- Expression<String>? callCover,
- Expression<int>? presenceIndex,
- Expression<bool>? online,
- Expression<String>? muted,
- Expression<int>? blocklistCount,
- Expression<int>? lastSeenAt,
- Expression<String>? ver,
- Expression<String>? welcomeMessage,
- Expression<int>? rowid,
})
Implementation
static Insertable<MyUserRow> custom({
Expression<String>? id,
Expression<String>? num,
Expression<String>? login,
Expression<String>? name,
Expression<String>? bio,
Expression<bool>? hasPassword,
Expression<String>? emails,
Expression<String>? phones,
Expression<String>? chatDirectLink,
Expression<int>? unreadChatsCount,
Expression<String>? status,
Expression<String>? avatar,
Expression<String>? callCover,
Expression<int>? presenceIndex,
Expression<bool>? online,
Expression<String>? muted,
Expression<int>? blocklistCount,
Expression<int>? lastSeenAt,
Expression<String>? ver,
Expression<String>? welcomeMessage,
Expression<int>? rowid,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (num != null) 'num': num,
if (login != null) 'login': login,
if (name != null) 'name': name,
if (bio != null) 'bio': bio,
if (hasPassword != null) 'has_password': hasPassword,
if (emails != null) 'emails': emails,
if (phones != null) 'phones': phones,
if (chatDirectLink != null) 'chat_direct_link': chatDirectLink,
if (unreadChatsCount != null) 'unread_chats_count': unreadChatsCount,
if (status != null) 'status': status,
if (avatar != null) 'avatar': avatar,
if (callCover != null) 'call_cover': callCover,
if (presenceIndex != null) 'presence_index': presenceIndex,
if (online != null) 'online': online,
if (muted != null) 'muted': muted,
if (blocklistCount != null) 'blocklist_count': blocklistCount,
if (lastSeenAt != null) 'last_seen_at': lastSeenAt,
if (ver != null) 'ver': ver,
if (welcomeMessage != null) 'welcome_message': welcomeMessage,
if (rowid != null) 'rowid': rowid,
});
}