defaultAsLocale property

Future<Locale?> defaultAsLocale

Returns the DEFAULT Locale of the devices made up of the language and the region

Implementation

static Future<Locale?> get defaultAsLocale async {
  final String? locale = await defaultLocale;
  return _getAsLocale(locale, null);
}