setClosedCaptionFile method
Sets a closed caption file.
If closedCaptionFile
is null, closed captions will be removed.
Implementation
Future<void> setClosedCaptionFile(
Future<ClosedCaptionFile>? closedCaptionFile,
) async {
await _updateClosedCaptionWithFuture(closedCaptionFile);
_closedCaptionFileFuture = closedCaptionFile;
}