Crossroad.fromJson constructor
Implementation
Crossroad.fromJson(Map<String, dynamic> json) {
centerPoint = json['centerPoint'] != null ? LatLng.fromJson(json['centerPoint']) : null;
direction = json['direction'];
distance = json['distance'];
firstRoadId = json['firstRoadId'];
firstRoadName = json['firstRoadName'];
id = json['id'];
roadWidth = json['roadWidth'];
secondRoadId = json['secondRoadId'];
secondRoadName = json['secondRoadName'];
}