ResourceId class

A resource id is a generic reference that points to another YouTube resource.

Constructors

ResourceId({String? channelId, String? kind, String? playlistId, String? videoId})
ResourceId.fromJson(Map json_)

Properties

channelId String?
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
The type of the API resource.
getter/setter pair
playlistId String?
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoId String?
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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