MBUser constructor

MBUser({
  1. required int id,
  2. required String? name,
  3. required String? surname,
  4. required String email,
  5. required String? phone,
  6. required String? imageUrl,
  7. required Map<String, dynamic>? data,
  8. required List<MBUserContractStatus>? contracts,
  9. required MBUserAuthMode authMode,
})

Initializes a user with all its data

Implementation

MBUser({
  required this.id,
  required this.name,
  required this.surname,
  required this.email,
  required this.phone,
  required this.imageUrl,
  required this.data,
  required this.contracts,
  required this.authMode,
});