update method
Updates a broadcast. For example, you could modify the broadcast settings defined in the LiveBroadcastItem
resource's LiveBroadcastItem.contentDetails object.
Implementation
Future<LiveBroadcastItem> update(
{required Map<String, dynamic> body,
String part = 'snippet,status,contentDetails',
List<String> partList = const [],
String? onBehalfOfContentOwner,
String? onBehalfOfContentOwnerChannel}) {
return _rest.update(
// _authHeader,
accept,
contentType,
buildParts(partList, part),
body,
onBehalfOfContentOwner: onBehalfOfContentOwner,
onBehalfOfContentOwnerChannel: onBehalfOfContentOwnerChannel,
);
}