setCaptionsLanguages method
Persists a video's caption languages.
Implementation
void setCaptionsLanguages({
required MediaItem item,
required List<String> captionsLanguages,
required bool autoGenerated,
}) {
setPreference<List<String>?>(
key: 'captions/$autoGenerated/${item.mediaIdentifier}',
value: captionsLanguages,
);
}