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