update method
Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings.
Implementation
Future<LiveStreamItem> update({
String part = 'snippet,status,contentDetails',
List<String> partList = const [],
required Map<String, dynamic> body,
String? onBehalfOfContentOwner,
String? onBehalfOfContentOwnerChannel,
}) async {
return await _rest.update(
_authHeader, accept, contentType, buildParts(partList, part), body);
}