User constructor

User({
  1. required String username,
  2. String? password,
  3. required UserLevel userLevel,
  4. Map<String, dynamic>? extension,
})

Implementation

User({
  required this.username,
  this.password,
  required this.userLevel,
  this.extension,
});