custom static method
Insertable<UserRow>
custom({ - Expression<String>? id,
- Expression<String>? num,
- Expression<String>? name,
- Expression<String>? bio,
- Expression<String>? avatar,
- Expression<String>? callCover,
- Expression<int>? mutualContactsCount,
- Expression<bool>? online,
- Expression<int>? presenceIndex,
- Expression<String>? status,
- Expression<bool>? isDeleted,
- Expression<String>? dialog,
- Expression<String>? isBlocked,
- Expression<int>? lastSeenAt,
- Expression<String>? contacts,
- Expression<String>? ver,
- Expression<String>? blockedVer,
- Expression<String>? welcomeMessage,
- Expression<int>? rowid,
})
Implementation
static Insertable<UserRow> custom({
Expression<String>? id,
Expression<String>? num,
Expression<String>? name,
Expression<String>? bio,
Expression<String>? avatar,
Expression<String>? callCover,
Expression<int>? mutualContactsCount,
Expression<bool>? online,
Expression<int>? presenceIndex,
Expression<String>? status,
Expression<bool>? isDeleted,
Expression<String>? dialog,
Expression<String>? isBlocked,
Expression<int>? lastSeenAt,
Expression<String>? contacts,
Expression<String>? ver,
Expression<String>? blockedVer,
Expression<String>? welcomeMessage,
Expression<int>? rowid,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (num != null) 'num': num,
if (name != null) 'name': name,
if (bio != null) 'bio': bio,
if (avatar != null) 'avatar': avatar,
if (callCover != null) 'call_cover': callCover,
if (mutualContactsCount != null)
'mutual_contacts_count': mutualContactsCount,
if (online != null) 'online': online,
if (presenceIndex != null) 'presence_index': presenceIndex,
if (status != null) 'status': status,
if (isDeleted != null) 'is_deleted': isDeleted,
if (dialog != null) 'dialog': dialog,
if (isBlocked != null) 'is_blocked': isBlocked,
if (lastSeenAt != null) 'last_seen_at': lastSeenAt,
if (contacts != null) 'contacts': contacts,
if (ver != null) 'ver': ver,
if (blockedVer != null) 'blocked_ver': blockedVer,
if (welcomeMessage != null) 'welcome_message': welcomeMessage,
if (rowid != null) 'rowid': rowid,
});
}