setPreferredPeakBitRate method
Future<SetPreferredPeakBitRateResponse>
setPreferredPeakBitRate(
- SetPreferredPeakBitRateRequest request
override
On iOS and macOS, sets the preferredPeakBitRate option, and does nothing on other platforms.
Implementation
@override
Future<SetPreferredPeakBitRateResponse> setPreferredPeakBitRate(
SetPreferredPeakBitRateRequest request) async {
return SetPreferredPeakBitRateResponse.fromMap(
(await _channel.invokeMethod<Map<dynamic, dynamic>>(
'setPreferredPeakBitRate', request.toMap()))!);
}