instance property

AcsChatPlatform get instance

The default instance of AcsChatPlatform to use.

Defaults to MethodChannelAcsChat.

Implementation

static AcsChatPlatform get instance => _instance;
set instance (AcsChatPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends AcsChatPlatform when they register themselves.

Implementation

static set instance(AcsChatPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}