LyricLine class
Represents a line of lyrics with timestamps (in milliseconds).
Constructors
- LyricLine.new(String text, int startTime, int endTime, int id)
- Create new LyricLine.
- LyricLine.fromRaw(JsonMap rawLyric)
-
Converts lyrics in the format from the api to a more reasonable format.
factory
Properties
- endTime → int
-
End of the lyric in milliseconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
A
Metadata-Id
that probably uniquely identifies each lyric line.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → int
-
Begin of the lyric in milliseconds.
final
- text → String
-
The song lyric text.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited