getLocaleName static method

Future<String> getLocaleName()

Implementation

static Future<String> getLocaleName() async {
  var localName = Platform.localeName;
  return localName != "und" ? localName : defaultLocaleName;
}