getLocalisedDescription method
- AppModel appModel
Get the best localisation for the description of this media source. If there is no localisation, the fallback is description.
Implementation
String getLocalisedDescription(AppModel appModel) {
return descriptionLocalisation[appModel.appLocale.toLanguageTag()] ??
description;
}