Summary.fromJson constructor
Implementation
factory Summary.fromJson(Map<String, dynamic> json) {
return Summary._(
hasTimeRestrictions: json['has_time_restrictions'],
hasToll: json['has_toll'],
hasHighway: json['has_highway'],
hasFerry: json['has_ferry'],
minLat: json['min_lat'],
minLon: json['min_lon'],
maxLat: json['max_lat'],
maxLon: json['max_lon'],
time: json['time'],
length: json['length'],
cost: json['cost'],
);
}