SmWaypoints.fromJson constructor
Implementation
factory SmWaypoints.fromJson(Map<String, dynamic> json) {
return SmWaypoints(
distance: json['distance'] as num,
location: LatLng(json['location'][1] as double,json['location'][0] as double),
name: json['name'] as String
);
}