UsersCompanion.insert constructor

UsersCompanion.insert({
  1. required String id,
  2. required String num,
  3. Value<String?> name = const Value.absent(),
  4. Value<String?> bio = const Value.absent(),
  5. Value<String?> avatar = const Value.absent(),
  6. Value<String?> callCover = const Value.absent(),
  7. Value<int> mutualContactsCount = const Value.absent(),
  8. Value<bool> online = const Value.absent(),
  9. Value<int?> presenceIndex = const Value.absent(),
  10. Value<String?> status = const Value.absent(),
  11. Value<bool> isDeleted = const Value.absent(),
  12. Value<String?> dialog = const Value.absent(),
  13. Value<String?> isBlocked = const Value.absent(),
  14. Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
  15. Value<String> contacts = const Value.absent(),
  16. required String ver,
  17. required String blockedVer,
  18. Value<String?> welcomeMessage = const Value.absent(),
  19. 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);