getDateFormat static method

List<String> getDateFormat(
  1. String locale
)

Implementation

static List<String> getDateFormat(String locale) {
  return localizedDateFormat[locale.split("_").first] ??
      localizedDateFormat["en"]!;
}