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