Channels class

Constructors

Channels({required Dio dio, String? token, String? apiKey})

Properties

accept String
finalinherited
apiKey String?
final
contentType String
finalinherited
dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
final

Methods

buildParts(List<String> partList, String part) String
inherited
list({String part = 'contentDetails,id,localizations,snippet,status,brandingSettings', List<String> partList = const [], String? categoryId, String? forUsername, String? id, bool? managedByMe, bool? mine, String? hl, int? maxResults, String? onBehalfOfContentOwner, String? pageToken}) Future<ChannelResponse>
Returns a collection of zero or more channel resources that match the request criteria.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update({String part = 'contentDetails,id,localizations,player,snippet,status', List<String> partList = const [], required Map<String, dynamic> body, String? onBehalfOfContentOwner}) Future<ChannelItem>
Modifies a Channels For example, you could change a Channels title, description, or privacy status.

Operators

operator ==(Object other) bool
The equality operator.
inherited