TowProvider constructor

TowProvider({
  1. required String? name,
  2. required String? email,
  3. double? rating,
  4. String? id,
  5. DateTime? birthDay,
  6. DateTime? createdDate,
  7. AccountState? userState,
  8. Gender? gender,
  9. Type? type,
  10. String? avatar,
  11. String? address,
  12. String? phoneNumber,
  13. CustomLocation? loc,
  14. bool? isAccepted,
  15. bool? isCenter,
  16. String? nationalID,
})

Implementation

TowProvider({
  required String? name,
  required String? email,
  this.rating,
  String? id,
  DateTime? birthDay,
  DateTime? createdDate,
  AccountState? userState,
  Gender? gender,
  Type? type,
  String? avatar,
  String? address,
  String? phoneNumber,
  CustomLocation? loc,
  this.isAccepted,
  this.isCenter,
  this.nationalID,
}) : 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);