Road.fromJson constructor
Implementation
Road.fromJson(Map<String, dynamic> json) {
direction = json['direction'];
distance = json['distance'];
id = json['id'];
latLngPoint = json['latLngPoint'] != null ? LatLng.fromJson(json['latLngPoint']) : null;
name = json['name'];
}