SmRoutes.fromJson constructor
Implementation
factory SmRoutes.fromJson(Map<String, dynamic> json) {
return SmRoutes(
distance: json['distance'] as num,
duration: json['duration'] as num,
weight: json['weight'] as num,
geometry: json['geometry'] as String
);
}