pause method

Future<bool?> pause()

Implementation

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