MyUsersCompanion.insert constructor

MyUsersCompanion.insert({
  1. required String id,
  2. required String num,
  3. Value<String?> login = const Value.absent(),
  4. Value<String?> name = const Value.absent(),
  5. Value<String?> bio = const Value.absent(),
  6. Value<bool> hasPassword = const Value.absent(),
  7. required String emails,
  8. required String phones,
  9. Value<String?> chatDirectLink = const Value.absent(),
  10. Value<int> unreadChatsCount = const Value.absent(),
  11. Value<String?> status = const Value.absent(),
  12. Value<String?> avatar = const Value.absent(),
  13. Value<String?> callCover = const Value.absent(),
  14. Value<int> presenceIndex = const Value.absent(),
  15. Value<bool> online = const Value.absent(),
  16. Value<String?> muted = const Value.absent(),
  17. Value<int?> blocklistCount = const Value.absent(),
  18. Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
  19. required String ver,
  20. Value<String?> welcomeMessage = const Value.absent(),
  21. 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);