Admin class

Inheritance

Constructors

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})

Properties

accessPrivilege Map<String, bool>?
getter/setter pair
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
loc CustomLocation?
getter/setter pairinherited
name String?
getter/setter pairinherited
phoneNumber String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type?
getter/setter pairinherited
userState AccountState?
getter/setter pairinherited

Methods

copyWith({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}) Admin
emailValidate(String email) bool
inherited
getUserType() String?
inherited
isValid() bool
override
nameValidate(String name) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
passValidate(String password) bool
inherited
subscriptionValidate(int subscription) bool
toString() String
A string representation of this object.
inherited

Operators

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