toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "address1": address1 == null ? null : address1,
      "address2": address2 == null ? null : address2,
      "address3": address3 == null ? null : address3,
      "city": city == null ? null : city,
      "state": state == null ? null : state,
      "postalCode": postalCode == null ? null : postalCode,
      "countryCode": countryCode == null ? null : countryCode,
    };