list method

Future<VideoCategoryListResponse> list({
  1. String part = 'snippet',
  2. List<String> partList = const [],
  3. String? id,
  4. String? regionCode,
  5. String? hl,
})

Retrieves a list of categories that can be associated with YouTube videos in the United States. The regionCode parameter specifies the country for which categories are being retrieved.

Implementation

Future<VideoCategoryListResponse> list(
    {String part = 'snippet',
    List<String> partList = const [],
    String? id,
    String? regionCode,
    String? hl}) async {
  return await _rest.list(
    accept,
    buildParts(partList, part),
    id: id,
    regionCode: regionCode,
    hl: hl,
  );
}