ClosedCaptionTrack constructor Null safety

ClosedCaptionTrack(
  1. Iterable<ClosedCaption> captions
)

Initializes an instance of ClosedCaptionTrack.

Implementation

ClosedCaptionTrack(Iterable<ClosedCaption> captions)
    : captions = UnmodifiableListView(captions);