instance property

The default instance of SignalrChatPluginPlatform to use.

Defaults to MethodChannelSignalrChatPlugin.

Implementation

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

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

Implementation

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