SongModel class Null safety

SongModel that contains all Song Information.

Constructors

SongModel(Map _info)

Properties

album String?
Return song album
read-only
albumId int?
Return song albumId
read-only
artist String?
Return song artist
read-only
artistId int?
Return song artistId
read-only
artwork Uint8List?
Deprecated after 2.0.0.
@Deprecated("Use [queryArtwork] instead"), read-only
bookmark int?
Return song bookmark
read-only
composer String?
Return song composer
read-only
data String
Return song data
read-only
dateAdded int?
Return song dateAdded
read-only
dateModified int?
Return song dateModified
read-only
displayName String
Return song displayName
read-only
displayNameWOExt String
Return song displayName without Extension
read-only
duration int?
Return song duration
read-only
fileExtension String
Return song only the fileExtension
read-only
fileParent String?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only
getMap Map
Return a map with all keys and values from specific song.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
Return song id
read-only
isAlarm bool?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only
isMusic bool?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only
isNotification bool?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only
isPodcast bool?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only
isRingtone bool?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
Return song size
read-only
title String
Return song title
read-only
track int?
Return song track
read-only
uri String?
Return song uri
read-only
year int?
Deprecated after 2.0.0.
@Deprecated("This method will be removed soon"), read-only

Methods

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

Operators

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