update method Null safety

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

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);
}