GenreModel class
GenreModel that contains all Genre
Information.
- Inheritance
-
- Object
- MediaModel
- GenreModel
Constructors
- GenreModel(Map _info)
Properties
- genre → String
-
Return genre name
no setter
- getMap → Map
-
Return a map with all
keys
andvalues
from specific genre.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Return the media id.
finalinherited
- numOfSongs → int
-
Return genre numOfSongs
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? id, String? genre, int? numOfSongs}) → GenreModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited