instance property

chatbot_ppmsPlatform get instance

The default instance of chatbot_ppmsPlatform to use.

Defaults to MethodChannelchatbot_ppms.

Implementation

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

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

Implementation

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