RoutePoiItem.fromJson constructor

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

Implementation

RoutePoiItem.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  title = json['title'];
  point = LatLng.fromJson(json['point']);
  distance = json['distance'];
  duration = json['duration'];
}