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