instance property

PaddleOcrPlatform get instance

获取当前平台接口实例。

Implementation

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

设置平台接口实例,需通过令牌验证。

Implementation

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