Subtitle class

This model class store the subtitle data.

Constructors

Subtitle({required Duration start, required Duration end, required String data, required int index})
const

Properties

data String
Store the current text for periode that started with start and end with end.
final
end Duration
The end time of this text periode, comparited with video time.
final
hashCode int
The hash code for this object.
no setteroverride
index int
Current index number of this subtitle in its file.
final
props List<Object>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start Duration
The start time of this text periode, comparited with video time.
final

Methods

compareTo(Subtitle other) int
inRange(Duration duration) bool
inSmall(Duration duration) bool
isLarg(Duration duration) bool
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 <(Subtitle other) bool
operator <=(Subtitle other) bool
operator ==(Object other) bool
The equality operator.
override
operator >(Subtitle other) bool
operator >=(Subtitle other) bool