getCountryCode static method

String? getCountryCode({
  1. BuildContext? context,
})

Get the country code if available

Implementation

static String? getCountryCode({BuildContext? context}) {
  return getCurrentLocale(context: context).countryCode;
}