ClosedCaptionTrackInfo constructor
const
ClosedCaptionTrackInfo(
- Uri url,
- Language language, {
- @Default(false) bool isAutoGenerated,
- required ClosedCaptionFormat format,
Initializes an instance of ClosedCaptionTrackInfo
Implementation
const factory ClosedCaptionTrackInfo(
/// Manifest URL of the associated track.
Uri url,
/// Language of the associated track.
Language language, {
/// Whether the associated track was automatically generated.
@Default(false) bool isAutoGenerated,
/// Track format
required ClosedCaptionFormat format,
}) = _ClosedCaptionTrackInfo;