instance property

The default instance of CheckoutFlutterPlatform to use.

Defaults to MethodChannelCheckoutFlutter.

Implementation

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

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

Implementation

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