15 lines
391 B
Dart
15 lines
391 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);
|
|
}
|