list method

Future<LiveBroadcastResponse> list(
  1. {String part = 'snippet,status,contentDetails',
  2. List<String> partList = const [],
  3. String? broadcastStatus,
  4. String? broadcastType,
  5. String? id,
  6. int? maxResults,
  7. bool? mine,
  8. String? onBehalfOfContentOwner,
  9. String? onBehalfOfContentOwnerChannel,
  10. String? pageToken}
)

Returns a list of YouTube broadcasts that match the API request parameters.

Implementation

Future<LiveBroadcastResponse> list(
    {String part = 'snippet,status,contentDetails',
    List<String> partList = const [],
    String? broadcastStatus,
    String? broadcastType,
    String? id,
    int? maxResults,
    bool? mine,
    String? onBehalfOfContentOwner,
    String? onBehalfOfContentOwnerChannel,
    String? pageToken}) {
  return _rest.list(accept, buildParts(partList, part),
      broadcastStatus: broadcastStatus,
      broadcastType: broadcastType,
      id: id,
      maxResults: maxResults,
      mine: mine,
      onBehalfOfContentOwner: onBehalfOfContentOwner,
      onBehalfOfContentOwnerChannel: onBehalfOfContentOwnerChannel,
      pageToken: pageToken);
}