I need to get device region country code not based on device language setting but based on region. How can I get device country code.
await CountryCodes.init();
final Locale? deviceLocale = CountryCodes.getDeviceLocale();
profileEmployee.countryCode = (deviceLocale?.countryCode)!;
I used this code and this code refers to en_US when my phone language setting is English but I lived in Myanmar. I just want my_MM. How can I get not based on Language setting.

From the device you can only get the language, if you want to get the region code, you will need to get the user location using geolocator https://pub.dev/packages/geolocator then you can use geocoding https://pub.dev/packages/geocoding to get code from coordinates.
Get Location
Decode location using Geocoding
It will show MM for Myanmar.