MyUsersCompanion.insert constructor
MyUsersCompanion.insert({ - required String id,
- required String num,
- Value<String?> login = const Value.absent(),
- Value<String?> name = const Value.absent(),
- Value<String?> bio = const Value.absent(),
- Value<bool> hasPassword = const Value.absent(),
- required String emails,
- required String phones,
- Value<String?> chatDirectLink = const Value.absent(),
- Value<int> unreadChatsCount = const Value.absent(),
- Value<String?> status = const Value.absent(),
- Value<String?> avatar = const Value.absent(),
- Value<String?> callCover = const Value.absent(),
- Value<int> presenceIndex = const Value.absent(),
- Value<bool> online = const Value.absent(),
- Value<String?> muted = const Value.absent(),
- Value<int?> blocklistCount = const Value.absent(),
- Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
- required String ver,
- Value<String?> welcomeMessage = const Value.absent(),
- Value<int> rowid = const Value.absent(),
})
Implementation
MyUsersCompanion.insert({
required String id,
required String num,
this.login = const Value.absent(),
this.name = const Value.absent(),
this.bio = const Value.absent(),
this.hasPassword = const Value.absent(),
required String emails,
required String phones,
this.chatDirectLink = const Value.absent(),
this.unreadChatsCount = const Value.absent(),
this.status = const Value.absent(),
this.avatar = const Value.absent(),
this.callCover = const Value.absent(),
this.presenceIndex = const Value.absent(),
this.online = const Value.absent(),
this.muted = const Value.absent(),
this.blocklistCount = const Value.absent(),
this.lastSeenAt = const Value.absent(),
required String ver,
this.welcomeMessage = const Value.absent(),
this.rowid = const Value.absent(),
}) : id = Value(id),
num = Value(num),
emails = Value(emails),
phones = Value(phones),
ver = Value(ver);