PlayedSong class Null safety
Constructors
- PlayedSong(String title, {required String artist, String? album, required double playbackDuration, Uint8List? artwork, required DateTime lastPlayedDate})
-
const
- PlayedSong.fromJson(dynamic json)
Properties
- album → String?
-
finalinherited
- artist → String
-
finalinherited
- artwork → Uint8List?
-
finalinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- lastPlayedDate → DateTime
-
final
- playbackDuration → double
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- title → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited