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