pause method

Future<bool?> pause()

Implementation

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