copyWith method
Implementation
Subtitle copyWith({
int? index,
Duration? start,
Duration? end,
dynamic text,
}) {
return Subtitle(
index: index ?? this.index,
start: start ?? this.start,
end: end ?? this.end,
text: text ?? this.text,
);
}