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