StreetNumber.fromJson constructor

StreetNumber.fromJson(
  1. Map<String, dynamic> json
)

Implementation

StreetNumber.fromJson(Map<String, dynamic> json) {
  direction = json['direction'];
  number = json['number'];
  street = json['street'];
  location = json['location'] != null
      ? LatLng.fromJson(json['location'])
      : null;
  distance = json['distance'];
}