Customer class
Constructors
- Customer.new(String? email, String? name, String? first_name, String? last_name, CustomerProfile? client_profile)
- Customer.empty()
-
factory
-
Customer.fromJson(Map<
String, dynamic> json) -
factory
Properties
- client_profile → CustomerProfile?
-
final
- email → String?
-
final
- first_name → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- last_name → String?
-
final
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? email, String? name, String? first_name, String? last_name, CustomerProfile? client_profile}) → 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