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