stop method

Future<bool?> stop()

Implementation

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