countryCode method

  1. @override
Future<String> countryCode()

Returns the country code from SKStoreFrontWrapper.

Uses the ISO 3166-1 Alpha-3 country code representation. See: https://developer.apple.com/documentation/storekit/skstorefront?language=objc

Implementation

@override
Future<String> countryCode() async {
  return (await _skPaymentQueueWrapper.storefront())?.countryCode ?? '';
}