getImagePageTitle method
- AppLocalizations appLocalizations
Returns a verbose description of the image field.
Implementation
String getImagePageTitle(AppLocalizations appLocalizations) => switch (this) {
ImageField.FRONT => appLocalizations.front_packaging_photo_title,
ImageField.INGREDIENTS => appLocalizations.ingredients_photo_title,
ImageField.NUTRITION => appLocalizations.nutritional_facts_photo_title,
ImageField.PACKAGING => appLocalizations.recycling_photo_title,
ImageField.OTHER => appLocalizations.take_more_photo_title,
};