setRegionCode method

  1. @override
Future setRegionCode(
  1. String regionCode
)
override

This method is used to set the region code.

Implementation

@override
Future setRegionCode(String regionCode) async {
  try {
    LogMessage.d('setRegionCode', regionCode);
    await mirrorFlyMethodChannel
        .invokeMethod('setRegionCode', {'regionCode': regionCode});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}