toJson method

Map<String, String> toJson()

Implementation

Map<String, String> toJson() => {
      'address': line1,
      'address2': line2,
      'city': city,
      'state': state,
      'postcode': postalCode,
      'country': country,
    };