stopTracking method

  1. @override
Future<String?> stopTracking()
override

The function stopTracking invokes a method called 'stopTracking' using a method channel and returns the result as a Future of type String. @returns The method is returning a Future<String?>.

Implementation

@override
Future<String?> stopTracking() async {
  final returnVal = await methodChannel.invokeMethod<String>('stopTracking');
  return returnVal;
}