instance property

The default instance of AppSettingsPlatform to use.

Defaults to MethodChannelAppSettings.

Implementation

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

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

Implementation

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