copyWith method

Subtitle copyWith({
  1. int? index,
  2. Duration? start,
  3. Duration? end,
  4. String? text,
})

Implementation

Subtitle copyWith(
        {int? index, Duration? start, Duration? end, String? text}) =>
    Subtitle(
        index: index ?? this.index,
        start: start ?? this.start,
        end: end ?? this.end,
        text: text ?? this.text);