pause method

Future pause()

Implementation

Future pause() async {
  if (_delegate == null) {
    throw Exception(["did not execute init()"]);
  }
  final result = await _delegate?.pause() ?? false;
  if (result) {
    isPause = true;
    notifyListeners();
  }
  return;
}