Episode class
Json representation of an episode
- Implementers
- Annotations
-
- @JsonSerializable()
Constructors
- Episode()
-
Episode.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioPreviewUrl ↔ String?
-
The episode length in milliseconds.
A URL to a 30 second preview (MP3 format) of the episode.
null
if not available.getter/setter pair - description ↔ String?
-
A description of the episode.
getter/setter pair
- durationMs ↔ int?
-
The episode length in milliseconds.
getter/setter pair
- explicit ↔ bool?
-
Whether or not the episode has explicit content
(
true
= yes it does;false
= no it does not OR unknown).getter/setter pair - externalUrls ↔ ExternalUrls?
-
Known external URLs for this episode.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- href ↔ String?
-
A link to the Web API endpoint providing full details of the episode.
getter/setter pair
- id ↔ String?
-
The Spotify ID for the episode.
getter/setter pair
-
images
↔ List<
Image> ? -
The cover art for the episode in various sizes, widest first.
getter/setter pair
- isExternallyHosted ↔ bool?
-
True if the episode is hosted outside of Spotify’s CDN.
getter/setter pair
- isPlayable ↔ bool?
-
Part of the response when Track Relinking is applied. If true, the track
is playable in the given market. Otherwise false.
getter/setter pair
- language ↔ String?
-
Note: This field is deprecated and might be removed in the future.
Please use the languages field instead. The language used in the episode, identified by a ISO 639 code.
getter/setter pair
-
languages
↔ List<
String> ? -
A list of the languages used in the episode, identified by their ISO 639 code.
getter/setter pair
- name ↔ String?
-
The name of the episode.
getter/setter pair
- releaseDate ↔ DateTime?
-
The date the episode was first released, for example "1981-12-15".
Depending on the precision, it might be shown as "1981" or "1981-12".
getter/setter pair
- releaseDatePrecision ↔ String?
-
The precision with which release_date value is known:
"year", "month", or "day".
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
The object type: "episode".
getter/setter pair
- uri ↔ String?
-
The Spotify ID for the episode.
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