User constructor

User({
  1. required String username,
  2. required String firstName,
  3. required String lastName,
  4. required String email,
  5. required String userId,
  6. required bool editor,
  7. required bool sdk,
  8. required bool vpnaccess,
  9. required bool webpageaccess,
  10. String? password,
  11. required bool enabled,
  12. required bool relationshipsAuth,
  13. List<String> userQuota = const [],
})

Returns a new User instance.

Implementation

User({
  required this.username,
  required this.firstName,
  required this.lastName,
  required this.email,
  required this.userId,
  required this.editor,
  required this.sdk,
  required this.vpnaccess,
  required this.webpageaccess,
  this.password,
  required this.enabled,
  required this.relationshipsAuth,
  this.userQuota = const [],
});