GenreModel class Null safety

GenreModel that contains all Genre Information.

Constructors

GenreModel(Map _info)

Properties

genre String
Return genre name
read-only
getMap Map
Return a map with all keys and values from specific genre.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
Return genre id
read-only
numOfSongs int
Return genre numOfSongs
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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