setCountry static method

Future<void> setCountry(
  1. String countryCode,
  2. String currency
)

Implementation

static Future<void> setCountry(String countryCode, String currency) async {
  try {
    await platform.invokeMethod('setCountry',
        <String, String>{'countryCode': countryCode, 'currency': currency});
  } on PlatformException catch (e) {
    showToast(e.message.toString());
  }
}