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