instance property

WapasPlatform get instance

The default instance of WapasPlatform to use.

Defaults to MethodChannelWapas.

Implementation

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

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

Implementation

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