playSpeed property

  1. @override
num get playSpeed
override

Implementation

@override
num get playSpeed => _audioElement?.playbackRate ?? 1.0;
  1. @override
set playSpeed (num playSpeed)
override

Implementation

@override
set playSpeed(num playSpeed) {
  _audioElement?.playbackRate = playSpeed;
  channel.invokeMethod(WebPlayer.methodPlaySpeed, playSpeed);
}