instance property

AliAiCallPlatform get instance

获取当前平台实现实例

Implementation

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

设置平台实现实例 用于测试时注入 mock 实现

Implementation

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