Client class

Inheritance

Constructors

Client({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, SubscriptionTypes? subscription, String? address})

Properties

address String?
getter/setter pairinherited
avatar String?
getter/setter pairinherited
birthDay DateTime?
getter/setter pairinherited
cars List<Car>
no setter
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
subscription SubscriptionTypes
no setter
subscriptionData Map<SubscriptionTypes, double>
no setter
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, SubscriptionTypes? subscription, String? address}) Client
emailValidate(String email) bool
inherited
getSubscriptionRange() double?
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