sampleTextsFor static method
The sample texts for a supported locale (resolveLocale): pt-BR, pt-PT, otherwise English.
Implementation
static Map<String, String> sampleTextsFor(String locale) => sampleTexts[locale] ?? sampleTexts['en']!;
The sample texts for a supported locale (resolveLocale): pt-BR, pt-PT, otherwise English.
static Map<String, String> sampleTextsFor(String locale) => sampleTexts[locale] ?? sampleTexts['en']!;