instance property

AresBridgePlatform get instance

Registered backend used by new AresBridge instances.

Implementation

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

Replaces the registered backend after verifying its platform token.

Implementation

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