14 lines
390 B
Dart
14 lines
390 B
Dart
|
import 'dart:collection';
|
||
|
|
||
|
import 'closed_caption.dart';
|
||
|
|
||
|
/// Track that contains closed captions in a specific language.
|
||
|
class ClosedCaptionTrack {
|
||
|
/// Closed captions.
|
||
|
final UnmodifiableListView<ClosedCaption> captions;
|
||
|
|
||
|
/// Initializes an instance of [ClosedCaptionTrack].
|
||
|
ClosedCaptionTrack(Iterable<ClosedCaption> captions)
|
||
|
: captions = UnmodifiableListView(captions);
|
||
|
}
|