instance property

AugenPlatform get instance

The default instance of AugenPlatform to use.

Defaults to MethodChannelAugen.

Implementation

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

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

Implementation

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