UsersCompanion.insert constructor
UsersCompanion.insert({ - required String id,
- required String num,
- Value<String?> name = const Value.absent(),
- Value<String?> bio = const Value.absent(),
- Value<String?> avatar = const Value.absent(),
- Value<String?> callCover = const Value.absent(),
- Value<int> mutualContactsCount = const Value.absent(),
- Value<bool> online = const Value.absent(),
- Value<int?> presenceIndex = const Value.absent(),
- Value<String?> status = const Value.absent(),
- Value<bool> isDeleted = const Value.absent(),
- Value<String?> dialog = const Value.absent(),
- Value<String?> isBlocked = const Value.absent(),
- Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
- Value<String> contacts = const Value.absent(),
- required String ver,
- required String blockedVer,
- Value<String?> welcomeMessage = const Value.absent(),
- Value<int> rowid = const Value.absent(),
})
Implementation
UsersCompanion.insert({
required String id,
required String num,
this.name = const Value.absent(),
this.bio = const Value.absent(),
this.avatar = const Value.absent(),
this.callCover = const Value.absent(),
this.mutualContactsCount = const Value.absent(),
this.online = const Value.absent(),
this.presenceIndex = const Value.absent(),
this.status = const Value.absent(),
this.isDeleted = const Value.absent(),
this.dialog = const Value.absent(),
this.isBlocked = const Value.absent(),
this.lastSeenAt = const Value.absent(),
this.contacts = const Value.absent(),
required String ver,
required String blockedVer,
this.welcomeMessage = const Value.absent(),
this.rowid = const Value.absent(),
}) : id = Value(id),
num = Value(num),
ver = Value(ver),
blockedVer = Value(blockedVer);