ignoreCurrentTrip method

  1. @override
Future<void> ignoreCurrentTrip()
override

Ignores the current ongoing trip.

This API will set the ongoing TripState to .ignored. Ignored trips data are purged and not sent to the server.

Precondition:

  • SDK should be in an active trip.

Implementation

@override
Future<void> ignoreCurrentTrip() async {
  await methodChannel.invokeMethod('ignoreCurrentTrip');
}