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