setSpeed method

  1. @override
Future<void> setSpeed(
  1. int? textureId,
  2. double speed
)
override

Sets the video speed to a range between 0.0 and 2.0

Implementation

@override
Future<void> setSpeed(int? textureId, double speed) {
  return _channel.invokeMethod<void>(
    'setSpeed',
    <String, dynamic>{
      'textureId': textureId,
      'speed': speed,
    },
  );
}