toMapCreateCustomer method

Map<String, dynamic> toMapCreateCustomer()

Implementation

Map<String, dynamic> toMapCreateCustomer() {
  return {
    "email": email,
    "name": name,
    "phoneNumber": phoneNumber,
    "billingAddress": billingAddress?.toMap(),
    "shippingAddress": shippingAddress?.toMap()
  };
}