RoutePoint.fromMap constructor

RoutePoint.fromMap(
  1. JsonMap map
)

Implementation

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