Shopper class

Constructors

Shopper.new({Address? billingAddress, required String cpf, required String email, required String firstName, required String lastName, required String phone, String? birthDate})
Creates a new instance of Shopper.
Shopper.fromJson(Map<String, dynamic> json)
factory

Properties

billingAddress Address?
The billing address.
final
birthDate String?
The birth date of the shopper. The value must be in the format: YYYY-MM-DD.
final
cpf String
The CPF of the shopper. The value must be in the format: 99999999999.
final
email String
The email of the shopper.
final
firstName String
The first name of the shopper.
final
hashCode int
The hash code for this object.
no setterinherited
lastName String
The last name of the shopper.
final
phone String
The phone number of the shopper. The value must be in the format: 99999999999.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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