RoutePoint.fromMap constructor
- JsonMap map
Implementation
factory RoutePoint.fromMap(JsonMap map) {
return RoutePoint(
latitude: (map['latitude'] as num).toDouble(),
longitude: (map['longitude'] as num).toDouble(),
);
}
factory RoutePoint.fromMap(JsonMap map) {
return RoutePoint(
latitude: (map['latitude'] as num).toDouble(),
longitude: (map['longitude'] as num).toDouble(),
);
}