instance property
SystemSettingsKrutusPlatform
get
instance
The default instance of SystemSettingsKrutusPlatform to use.
Defaults to MethodChannelSystemSettingsKrutus.
Implementation
static SystemSettingsKrutusPlatform get instance => _instance;
set
instance
(SystemSettingsKrutusPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends SystemSettingsKrutusPlatform when they register themselves.
Implementation
static set instance(SystemSettingsKrutusPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}