instance property

AiagentOhosPlatform get instance

The default instance of AiagentOhosPlatform to use.

Defaults to MethodChannelAiagentOhos.

Implementation

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

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

Implementation

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