ClosedCaption constructor

ClosedCaption(
  1. String text,
  2. Duration offset,
  3. Duration duration,
  4. Iterable<ClosedCaptionPart> parts,
)

Initializes an instance of ClosedCaption

Implementation

ClosedCaption(
    this.text, this.offset, this.duration, Iterable<ClosedCaptionPart> parts)
    : parts = UnmodifiableListView(parts);