copyWith method

Subtitle copyWith({
  1. String? participant,
  2. String? content,
})

Implementation

Subtitle copyWith({
  String? participant,
  String? content,
}) {
  return Subtitle(
    participant: participant ?? this.participant,
    content: content ?? this.content,
  );
}