velocity method

Future<void> velocity(
  1. AudioPlayer player,
  2. double v
)

Implementation

Future<void> velocity(AudioPlayer player, double v) async {
  _state = _state?.copyWith(velocity: v);
  await player.setPlaybackRate(v);
}