isPlaying property

  1. @override
bool get isPlaying
override

Implementation

@override
bool get isPlaying => _isPlaying;
  1. @override
set isPlaying (bool value)
override

Implementation

@override
set isPlaying(bool value) {
  _isPlaying = value;
  channel.invokeMethod(WebPlayer.methodIsPlaying, value);
  if (value) {
    _listenPosition();
  } else {
    _stopListenPosition();
  }
}