isPlaying property

  1. @override
bool isPlaying
override

Implementation

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

Implementation

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