availableSubtitles property

  1. @override
Future<List<SubtitleTrack>> availableSubtitles

A list of all available SubtitleTracks of the active Source, including "off" subtitle track.

Implementation

@override
Future<List<SubtitleTrack>> get availableSubtitles async =>
    _invokeListObjectsMethod<SubtitleTrack>(
      Methods.availableSubtitles,
      SubtitleTrack.fromJson,
    );