instance property

SceytChatPlatform get instance

The default instance of SceytChatPlatform to use.

Defaults to MethodChannelSceytChat.

Implementation

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

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

Implementation

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