instance property

The default instance of StripePaymentFlutterPlatform to use.

Defaults to MethodChannelStripePaymentFlutter.

Implementation

static StripePaymentFlutterPlatform get instance => _instance;
void instance=(StripePaymentFlutterPlatform instance)

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

Implementation

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