setTrackingState method
Implementation
@override
Future<void> setTrackingState(TrackingState status) async {
if (Platform.isIOS) {
methodChannel
.invokeMethod<void>('setTrackingState', {"status": status.value});
} else if (Platform.isAndroid) {
methodChannel
.invokeMethod<void>('setTrackingState', {"status": status.value});
}
}