startTrip static method
- TripConfig config
Starts a trip lifecycle engine with the provided config.
Implementation
static Future<void> startTrip(TripConfig config) async {
_tripEngine ??= TripEngine(store: _tripStore);
await _tripEngine!.start(config, _tripLocationStream());
}