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