toJson method
Implementation
Map<String, dynamic> toJson() => {
"merchant_id": merchantId == null ? null : merchantId,
"zip": zip == null ? null : zip,
"street_address": streetAddress == null ? null : streetAddress,
"country": country == null ? null : country,
"state": state == null ? null : state,
"city": city == null ? null : city,
"customer_id": customerId == null ? null : customerId,
"is_default_address": isDefaultAddress == null ? null : isDefaultAddress,
"status": status == null ? null : status,
"updated_at": updatedAt == null ? null : updatedAt!.toIso8601String(),
"created_at": createdAt == null ? null : createdAt!.toIso8601String(),
"id": id == null ? null : id,
};