setPlaybackSpeed method

Future<void> setPlaybackSpeed(
  1. double speed
)

Implementation

Future<void> setPlaybackSpeed(double speed) async {
  _currentSpeed = speed;
  try {
    await methodChannel.invokeMethod(
        Constant.METHOD_CHANGE_PLAYBACK_SPEED, speed);
  } on PlatformException catch (_) {}
}