Metadata class

Metadata of a media file.

Constructors

Metadata({String? trackName, List<String>? trackArtistNames, String? albumName, String? albumArtistName, int? trackNumber, int? albumLength, int? year, String? genre, String? authorName, String? writerName, int? discNumber, String? mimeType, int? trackDuration, int? bitrate, Uint8List? albumArt, String? filePath})
const
Metadata.fromJson(dynamic map)
factory

Properties

albumArt Uint8List?
Uint8List having album art data.
final
albumArtistName String?
Name of the album artist.
final
albumLength int?
Number of tracks in the album.
final
albumName String?
Name of the album.
final
authorName String?
Author of the track.
final
bitrate int?
Bitrate of the track.
final
discNumber int?
Number of the disc.
final
filePath String?
File path of the media file. null on web.
final
genre String?
Genre of the track.
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String?
Mime type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackArtistNames List<String>?
Names of the artists performing in the track.
final
trackDuration int?
Duration of the track in milliseconds.
final
trackName String?
Name of the track.
final
trackNumber int?
Position of track in the album.
final
writerName String?
Writer of the track.
final
year int?
Year of the track.
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.
override

Operators

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