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