PlaylistId class

Encapsulates a valid YouTube playlist ID.

Mixed in types

Constructors

PlaylistId(String idOrUrl)
Initializes an instance of PlaylistId
PlaylistId.fromString(dynamic obj)
Converts obj to a PlaylistId by calling .toString on that object. If it is already a PlaylistId, obj is returned
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
props List<Object>
The list of properies that will be used to determine whether two Equatables are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool
If set to true, the toString method will be overridden to output this Equatable's props. [...]
read-only, inherited
value String
The playlist id as string.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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

Static Methods

parsePlaylistId(String url) String
Parses a playlist url returning its id. If the url is a valid it is returned itself.
validatePlaylistId(String playlistId) bool
Returns true if the given playlistId is valid.