AppMediaItem class

Constructors

AppMediaItem.new({String id = '', String album = '', String? albumId, String artist = '', String? artistId, List<String>? externalArtists, Map<String, String>? featInternalArtists, int duration = 0, List<String>? genres, String imgUrl = '', List<String>? allImgs, String? language, String? description, String name = '', String url = '', List<String>? allUrls, String? publisher, int? publishedYear, int? quality, String permaUrl = '', int releaseDate = 0, String lyrics = '', int? trackNumber, int? discNumber, AppMediaSource mediaSource = AppMediaSource.internal, bool is320Kbps = false, int likes = 0, String? path, MediaItemType? type, int state = 0})
AppMediaItem.fromJSON(dynamic map)
factory

Properties

album String
IF ARTIST IS ON GIGMEOUT
getter/setter pair
albumId String?
getter/setter pair
allImgs List<String>?
getter/setter pair
allUrls List<String>?
URL FOR EXTERNAL USE
getter/setter pair
artist String
getter/setter pair
artistId String?
getter/setter pair
description String?
getter/setter pair
discNumber int?
getter/setter pair
duration int
IF ALBUM IS ON GIGMEOUT
getter/setter pair
externalArtists List<String>?
getter/setter pair
featInternalArtists Map<String, String>?
DURATION IN SECONDS
getter/setter pair
genres List<String>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
imgUrl String
getter/setter pair
is320Kbps bool
TO DEFINE QUALITY 0-1-2-3-4-5 ...
getter/setter pair
language String?
getter/setter pair
likes int
getter/setter pair
lyrics String
getter/setter pair
mediaSource AppMediaSource
getter/setter pair
name String
getter/setter pair
path String?
URL FOR STREAMING PURPOSE
getter/setter pair
permaUrl String
IN CASE IS OFFLINE
getter/setter pair
publishedYear int?
getter/setter pair
publisher String?
getter/setter pair
quality int?
getter/setter pair
releaseDate int
YEAR RELEASE TO PUBLIC
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state int
getter/setter pair
trackNumber int?
ADDITIONAL URLS FOR QUALITIES
getter/setter pair
type MediaItemType?
STATE FOR USERS WHEN THE SAVE ITEM ON ITEMLISTS - FROM O to 5
getter/setter pair
url String
RELEASED AT GIGMEOUT INTERNAL PURPOSES
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.
override

Operators

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