PlayerContext class

Json representation of the context of the playback state

Annotations
  • @JsonSerializable()

Constructors

PlayerContext()
PlayerContext.fromJson(Map<String, dynamic> json)
factory

Properties

externalUrls ExternalUrls?
The external_urls of the context, or null if not available.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
href String?
The href of the context, or null if not available.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The object type of the item’s context. Can be one of album, artist or playlist.
getter/setter pair
uri String?
The uri of the context.
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