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