USubtitleData class
Parsed subtitles: cues and styles.
Constructors
-
USubtitleData({required USubtitleFormat format, required List<
USubtitleCue> cues, Map<String, USubtitleStyle> styles = const <String, USubtitleStyle>{}, String? language, String? label, int playResX = 0, int playResY = 0, String encoding = "utf-8"}) -
const
Properties
-
cues
→ List<
USubtitleCue> -
final
- encoding → String
-
final
- format → USubtitleFormat
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- label → String?
-
final
- language → String?
-
final
- lastEnd → Duration
-
no setter
- playResX → int
-
final
- playResY → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
styles
→ Map<
String, USubtitleStyle> -
final
Methods
-
activeAt(
Duration time, {Duration delay = Duration.zero, double scale = 1}) → List< USubtitleCue> -
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
Constants
- empty → const USubtitleData