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
7 lines
188 B
Dart
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);
|
|
}
|