setPlaybackRate method

void setPlaybackRate(
  1. double rate
)

Implementation

void setPlaybackRate(double rate) {
  currentPlaybackRate = rate;
  player?.playbackRate = rate;
}