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