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