afya_moja_core/src/utils library
Functions
-
getCountry(
Country country) → Map< String, String> ? - Retrieves country-specific information based on the provided Country enumeration.
-
popValue(
String name) → Country - Returns the corresponding Country enum value based on the provided country name. If the provided name does not match any known country, the default Country value (United States) is returned.
-
selectCountryModalBottomSheet(
BuildContext context) → Future< Country?> - Displays a modal bottom sheet containing a list of supported countries for selection.