BinghamtonBetterBus-v2/src/client/lib/src/data/utils.dart
Levi Lesches c878d08c23
Move data parsing definitions out of the client (#11)
Makes a new (dart) package called `shared`, which contains: 
- the code needed to parse through OCCT and BC data
- any data definitions for types in that data (eg, stops)
- shared utils

The client will then import types from this package. This PR also re-generates the GET_STOPS json file to include OCCT
2025-05-02 02:10:57 -04:00

7 lines
188 B
Dart

import "package:google_maps_flutter/google_maps_flutter.dart";
import "package:shared/data.dart";
extension CoordinatesUtils on Coordinates {
LatLng toLatLng() => LatLng(lat, long);
}