getCaptionsLanguages method
Gets a video's cached caption languages.
Implementation
List<String>? getCaptionsLanguages({
required MediaItem item,
required bool autoGenerated,
}) {
return getPreference<List<String>?>(
key: 'captions/$autoGenerated/${item.mediaIdentifier}',
defaultValue: null,
);
}