setBitrateIndex method

Future<void> setBitrateIndex(
  1. int index
)

Implementation

Future<void> setBitrateIndex(int index) async {
  if (_isDisposed) {
    return;
  }
  await channel.invokeMethod('setBitrateIndex', <String, dynamic>{
    'textureId': _textureId,
    'index': index,
  });
  value = value.copyWith(bitrateIndex: index);
}