ClosedCaption constructor
ClosedCaption(
- String text,
- Duration offset,
- Duration duration,
- Iterable<
ClosedCaptionPart> parts,
Initializes an instance of ClosedCaption
Implementation
ClosedCaption(
this.text,
this.offset,
this.duration,
Iterable<ClosedCaptionPart> parts,
) : parts = UnmodifiableListView(parts);