update method

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

Modifies a Channels For example, you could change a Channels title, description, or privacy status.

Implementation

Future<ChannelItem> update(
    {String part = 'contentDetails,id,localizations,player,snippet,status',
    List<String> partList = const [],
    required Map<String, dynamic> body,
    String? onBehalfOfContentOwner}) async {
  return await _rest.update(
      accept, contentType, buildParts(partList, part), body);
}