LrcStream class

A data class to store each yielding of the stream

Constructors

LrcStream({LrcLine? previous, required LrcLine current, LrcLine? next, Duration? duration, required int position, required int length})
The main constructor for a LrcStream

Properties

current LrcLine
Tthe current line
getter/setter pair
duration Duration?
The duration from the current to the next. Is null if the current line is the last position.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length int
The total number of lines in the stream
getter/setter pair
next LrcLine?
The next line. Is null if the current line is the last position.
getter/setter pair
position int
The position of the current line
getter/setter pair
previous LrcLine?
The previous line. Is null if the current line is the fist position.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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