setTrackingState method

  1. @override
Future<void> setTrackingState(
  1. TrackingState status
)
override

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});
  }
}