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