Subtitle class

This class represents one line within a transcript.

Constructors

Subtitle({required int index, required Duration start, required Duration end, required String data, String speaker = ''})

Properties

data String
The text for this line.
final
end Duration
Optional end time of this line.
final
hashCode int
The hash code for this object.
no setterinherited
index int
The index (order) of the transcript line.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speaker String
The person speaking (optional).
final
start Duration
The start time of this line.
final

Methods

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