getTripState static method

TripState? getTripState()

Returns the current trip state if a trip is active.

Implementation

static TripState? getTripState() => _tripEngine?.state;