Customer class

Constructors

Customer({String id = null, String name = null, String email = null, String phone = null, String birthday = null, String gender = null, String address = null, String city = null, String state = null, String zipCode = null, DateTime lastVisit = null, int totalVisit = null, DateTime createdAt = null, String createdBy = null, DateTime updatedAt = null, String updatedBy = null, bool deleted = false})

Properties

address String
@Alias('address', isNullable: false), final
birthday String
@Alias('birthday', isNullable: false), final
city String
@Alias('city', isNullable: false), final
createdAt DateTime
@Alias('createdAt', isNullable: false), final
createdBy String
@Alias('createdBy', isNullable: false), final
deleted bool
@Alias('deleted', isNullable: false), final
email String
@Alias('email', isNullable: false), final
gender String
@Alias('gender', isNullable: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
@Alias('id', isNullable: false), final
lastVisit DateTime
@Alias('lastVisit', isNullable: false), final
name String
@Alias('name', isNullable: false), final
phone String
@Alias('phone', isNullable: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String
@Alias('state', isNullable: false), final
totalVisit int
@Alias('totalVisit', isNullable: false), final
updatedAt DateTime
@Alias('updatedAt', isNullable: false), final
updatedBy String
@Alias('updatedBy', isNullable: false), final
zipCode String
@Alias('zipCode', isNullable: false), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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