sampleTextsFor static method

Map<String, String> sampleTextsFor(
  1. String locale
)

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']!;