instance property

The default instance of TonWalletBridgePlatform to use.

Defaults to MethodChannelTonWalletBridge.

Implementation

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

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

Implementation

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