Customer class
Constructors
- Customer.new(String? firstName, String? lastName, String? country, String? street, String? city, String? state, String? postCode, String? email, String? phone)
- Customer.empty()
-
factory
-
Customer.fromJson(Map<
String, dynamic> json) -
factory
Properties
- city → String?
-
final
- country → String?
-
final
- email → String?
-
final
- firstName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastName → String?
-
final
- phone → String?
-
final
- postCode → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
final
- street → String?
-
final
Methods
-
copyWith(
{String? firstName, String? lastName, String? country, String? street, String? city, String? state, String? postCode, String? email, String? phone}) → Customer -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited