liturgyDescription function

String? liturgyDescription(
  1. LiturgyModel liturgyModel,
  2. LiturgyLanguage language
)

Get the description of the liturgyModel model in the language language.

Implementation

String? liturgyDescription(
    LiturgyModel liturgyModel, LiturgyLanguage language) {
  if (language == LiturgyLanguage.it) {
    return LiturgyDescriptionsIT.liturgyDescription(liturgyModel);
  } else if (language == LiturgyLanguage.en) {
    return LiturgyDescriptionsEN.liturgyDescription(liturgyModel);
  }
  return null;
}