Admin constructor

Admin({
  1. String? name,
  2. String? email,
  3. String? id,
  4. DateTime? birthDay,
  5. DateTime? createdDate,
  6. AccountState? userState,
  7. Gender? gender,
  8. Type? type,
  9. String? avatar,
  10. CustomLocation? loc,
  11. String? phoneNumber,
  12. List<Car>? cars,
  13. String? address,
  14. Map<String, bool>? accessPrivilege,
})

Implementation

Admin({
  String? name,
  String? email,
  String? id,
  DateTime? birthDay,
  DateTime? createdDate,
  AccountState? userState,
  Gender? gender,
  Type? type,
  String? avatar,
  CustomLocation? loc,
  String? phoneNumber,
  List<Car>? cars,
  String? address,
  Map<String, bool>? accessPrivilege,
}) : super(
          name: name,
          email: email,
          id: id,
          birthDay: birthDay,
          createdDate: createdDate,
          userState: userState,
          gender: gender,
          type: type,
          avatar: avatar,
          loc: loc,
          phoneNumber: phoneNumber,
          address: address);