setRate method

Future<void> setRate(
  1. double mode
)

设置播放速率 0.5-2.0之间,1为正常播放

Implementation

Future<void> setRate(double mode) async {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('setRate', wrapWithPlayerId(arg: mode));
}