setCanUseNetworkResourcesForLiveStreamingWhilePaused method Null safety

Future<void> setCanUseNetworkResourcesForLiveStreamingWhilePaused(
  1. bool canUseNetworkResourcesForLiveStreamingWhilePaused
)

Sets canUseNetworkResourcesForLiveStreamingWhilePaused on iOS/macOS, defaults to false.

Implementation

Future<void> setCanUseNetworkResourcesForLiveStreamingWhilePaused(
    final bool canUseNetworkResourcesForLiveStreamingWhilePaused) async {
  if (_disposed) return;
  _canUseNetworkResourcesForLiveStreamingWhilePaused =
      canUseNetworkResourcesForLiveStreamingWhilePaused;
  await (await _platform)
      .setCanUseNetworkResourcesForLiveStreamingWhilePaused(
          SetCanUseNetworkResourcesForLiveStreamingWhilePausedRequest(
              enabled: canUseNetworkResourcesForLiveStreamingWhilePaused));
}