stop method

Future<bool?> stop()

Implementation

Future<bool?> stop() async {
  if (_nativeChannel == null) {
    debugPrint('ERROR: MethodChannel is null');
    return false;
  }
  bool? stopped = await _nativeChannel!.invokeMethod(
    'stop',
  );
  return stopped;
}