instance property

The default instance of RegionSettingsPlatform to use.

Defaults to MethodChannelRegionSettings.

Implementation

static RegionSettingsPlatform get instance => _instance;
void instance=(RegionSettingsPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends RegionSettingsPlatform when they register themselves.

Implementation

static set instance(RegionSettingsPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}