list method

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

Returns a list of video streams that match the API request parameters.

Implementation

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