instance property

Nf5503FlutterPlatform get instance

当前默认平台实现。

Implementation

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

注册平台实现,必须继承 Nf5503FlutterPlatform 并通过 token 校验。

Implementation

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