toJson method
Implementation
Map<String, dynamic> toJson() => {
"apartment": apartment ?? apartment,
"email": email ?? email,
"floor": floor ?? floor,
"first_name": firstName ?? firstName,
"street": street ?? street,
"building": building ?? building,
"phone_number": phoneNumber ?? phoneNumber,
"shipping_method": shippingMethod ?? shippingMethod,
"postal_code": postalCode ?? postalCode,
"city": city ?? city,
"country": country ?? country,
"last_name": lastName ?? lastName,
"state": state ?? state,
};