updateSubtitleUrl method
Implementation
void updateSubtitleUrl({
required String url,
Map<String, String>? headers,
}) {
if (_attached) {
subtitleUrl = url;
headers = headers;
_subtitleBloc!.add(
InitSubtitles(
subtitleController: this,
),
);
} else {
throw Exception('Seems that the controller is not correctly attached.');
}
}