Future<Null> pause()

Source

Future<Null> pause() async {
  if (isDisposed) {
    return;
  }
  timer?.cancel();
  await _channel.invokeMethod('pause', {'textureId': _textureId});
  value = value.copyWith(isPlaying: false);
}