getCountryCode method

Future<String?> getCountryCode()

Returns the raw billing storefront country code reported by the native platform.

  • iOS: ISO 3166-1 alpha-3 (StoreKit storefront), e.g. "USA".
  • Android: ISO 3166-1 alpha-2 (Google Play billing config, or SIM/locale fallback), e.g. "US".

The higher-level BillingCountry facade normalizes this to alpha-2.

Implementation

Future<String?> getCountryCode() {
  throw UnimplementedError('getCountryCode() has not been implemented.');
}