instance property

WapasUiKitPlatform get instance

The default instance of WapasUiKitPlatform to use.

Defaults to MethodChannelWapasUiKit.

Implementation

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

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

Implementation

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