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;
}