instance property

The default instance of FlutterStonePaymentPlatform to use.

Defaults to MethodChannelFlutterStonePayment.

Implementation

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

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

Implementation

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