Customer class

Constructors

Customer({String? name, String? lastName, required String email, required String phone, required String city, required String country, required String address, String? zip = "12345", String? ip})
Customer.fromJson(Map<String, dynamic> json)
factory

Properties

address String
final
city String
final
country String
final
email String
final
hashCode int
The hash code for this object.
no setterinherited
ip String?
getter/setter pair
lastName String?
final
name String?
getter/setter pair
phone String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zip String?
getter/setter pair

Methods

copyWith({String? name, String? email, String? phone, String? city, String? address, String? zip, String? ip, String? redirect}) Customer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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