instance property

PinelabSdkPlatform get instance

The default instance of PinelabSdkPlatform to use.

Defaults to MethodChannelPinelabSdk.

Implementation

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

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

Implementation

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