update method

Future<LiveStreamItem> update({
  1. String part = 'snippet,status,contentDetails',
  2. List<String> partList = const [],
  3. required Map<String, dynamic> body,
  4. String? onBehalfOfContentOwner,
  5. String? onBehalfOfContentOwnerChannel,
})

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,
}) {
  return _rest.update(
    // _authHeader,
    accept,
    contentType,
    buildParts(partList, part),
    body,
  );
}