instance property

SamsungWalletPlatform get instance

The default instance of SamsungWalletPlatform to use.

Defaults to MethodChannelSamsungWallet.

Implementation

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

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

Implementation

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