Subtitle class
单条字幕实体,包含轨道索引和字幕文本。
表示一条具体的字幕数据,通过 index 标识所属轨道, 通过 text 存储字幕文本内容。
A single subtitle entity containing track index and subtitle text.
Represents a concrete subtitle entry, identified by index for its track and storing the subtitle content in text.
Properties
Methods
-
copyWith(
{int? index, String? text}) → Subtitle - 创建当前字幕的副本,可选覆盖部分属性。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
返回当前字幕实体的字符串表示,包含轨道索引和字幕文本。
override
Operators
-
operator ==(
Object other) → bool -
判断两个字幕是否相等。
override