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