stopTrip static method

TripSummary? stopTrip()

Stops the active trip and returns a summary if available.

Implementation

static TripSummary? stopTrip() {
  return _tripEngine?.stop();
}