startTrip static method

Future<void> startTrip(
  1. 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());
}