toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'street'] = street;
  json[r'postalCode'] = postalCode;
  json[r'city'] = city;
  return json;
}