subtitle property
The currently selected SubtitleTrack
.
Implementation
@override
Future<SubtitleTrack> get subtitle async =>
await _invokeObjectMethod<SubtitleTrack>(
Methods.getSubtitle,
SubtitleTrack.fromJson,
) ??
SubtitleTrack.off();