setRegionCode method

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

Implementation

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