User constructor

User({
  1. required String $id,
  2. required String $createdAt,
  3. required String $updatedAt,
  4. required String name,
  5. String? password,
  6. String? hash,
  7. Map? hashOptions,
  8. required String registration,
  9. required bool status,
  10. required List<String> labels,
  11. required String passwordUpdate,
  12. required String email,
  13. required String phone,
  14. required bool emailVerification,
  15. required bool phoneVerification,
  16. required bool mfa,
  17. required Preferences prefs,
  18. required List<Target> targets,
  19. required String accessedAt,
})

Implementation

User({
  required this.$id,
  required this.$createdAt,
  required this.$updatedAt,
  required this.name,
  this.password,
  this.hash,
  this.hashOptions,
  required this.registration,
  required this.status,
  required this.labels,
  required this.passwordUpdate,
  required this.email,
  required this.phone,
  required this.emailVerification,
  required this.phoneVerification,
  required this.mfa,
  required this.prefs,
  required this.targets,
  required this.accessedAt,
});