pause method

Future<bool?> pause()

暂停

Implementation

Future<bool?> pause() async {
  try {
    return await _channel.invokeMethod<bool>('pause', {});
  } on PlatformException catch (e) {
    debugPrint('Failed to pause');
    return false;
  }
}