onRemoveTextTrack method
Implementation
@override
void onRemoveTextTrack(int uid) {
TextTrack? textTrack = _textTracks.firstWhereOrNull((item) => item.uid == uid);
if (textTrack == null) {
return;
}
_textTracks.remove(textTrack);
_textTracks.dispatchEvent(RemoveTextTrackEvent(track: textTrack));
}