Track class

Annotations
  • @JsonSerializable.new()

Constructors

Track(Album album, Artist artist, List<Artist> artists, int duration, ImageUri imageUri, String name, String uri, String? linkedFromUri, {required bool isEpisode, required bool isPodcast})
Track.fromJson(Map<String, dynamic> json)
factory

Properties

album → Album
final
artist → Artist
final
artists → List<Artist>
final
duration → int
final
hashCode → int
The hash code for this object.
no setterinherited
imageUri → ImageUri
final
isEpisode → bool
final
isPodcast → bool
final
linkedFromUri → String?
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → String
final

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