instance property

SettingsKitPlatform get instance

The default instance of SettingsKitPlatform to use.

Defaults to AndroidSettingsKit.

Implementation

static SettingsKitPlatform get instance => _instance;
set instance (SettingsKitPlatform instance)

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

Implementation

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