toString method

  1. @override
String toString()
override

返回当前字幕实体的字符串表示,包含轨道索引和字幕文本。

Returns the string representation of this subtitle entity, including the track index and subtitle text.

Implementation

@override
String toString() {
  return 'Subtitle(index: $index, text: $text)';
}