instance property

The default instance of ChannelTalkFlutterPlatform to use.

Defaults to MethodChannelChannelTalkFlutter.

Implementation

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

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

Implementation

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