setRegionCode static method

Future<void> setRegionCode({
  1. required String regionCode,
})

Sets the region code for the User.

The regionCode parameter specifies the region code to set. This method is used to configure the region for the Mirrorfly. This method is used when enableMobileNumberLogin enabled in initializeSDK

Example usage:


await Mirrorfly.setRegionCode(regionCode: 'US');

Implementation

static Future<void> setRegionCode({required String regionCode}) async {
  return FlyChatFlutterPlatform.instance.setRegionCode(regionCode);
}