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