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