instance property

The default instance of FlutterPaypalPlatform to use.

Defaults to MethodChannelFlutterPaypal.

Implementation

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

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

Implementation

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