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