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