instance property

ReownAppkitPlatform get instance

The default instance of ReownAppkitPlatform to use.

Defaults to MethodChannelReownAppkit.

Implementation

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

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

Implementation

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