Song class Null safety

Inheritance

Constructors

Song({required String name, String? art, int? end, int? start, int? itunesid, String? originalArtist})
Song.fromJson(String source)
factory
Song.fromMap(Map<String, dynamic> map)
factory

Properties

art String?
final
end int?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
itunesid int?
final
name String
final
originalArtist String?
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
start int?
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, override

Methods

copyWith({String? name, String? art, int? end, int? start, int? itunesid, String? originalArtist}) Song
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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