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