TowProvider class

Inheritance

Constructors

TowProvider({required String? name, required String? email, double? rating, String? id, DateTime? birthDay, DateTime? createdDate, AccountState? userState, Gender? gender, Type? type, String? avatar, String? address, String? phoneNumber, CustomLocation? loc, bool? isAccepted, bool? isCenter, String? nationalID})

Properties

address String?
getter/setter pairinherited
avatar String?
getter/setter pairinherited
birthDay DateTime?
getter/setter pairinherited
createdDate DateTime?
getter/setter pairinherited
email String?
getter/setter pairinherited
gender Gender?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
isAccepted bool?
getter/setter pair
isCenter bool?
getter/setter pair
loc CustomLocation?
getter/setter pairinherited
name String?
getter/setter pairinherited
nationalID String?
getter/setter pair
phoneNumber String?
getter/setter pairinherited
rating double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
towDriver List<TowDriver>
getter/setter pair
type Type?
getter/setter pairinherited
userState AccountState?
getter/setter pairinherited

Methods

emailValidate(String email) bool
inherited
getUserType() String?
inherited
isValid() bool
override
nameValidate(String name) bool
inherited
nationalIDValidate(String id) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
passValidate(String password) bool
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited