instance property
MethodChannelPaypalNativeCheckout
get
instance
The default instance of FlutterPaypalPlatform to use.
Defaults to MethodChannelFlutterPaypal.
Implementation
static MethodChannelPaypalNativeCheckout get instance => _instance;
set
instance
(MethodChannelPaypalNativeCheckout instance)
Platform-specific implementations should set this with their own
platform-specific class that extends FlutterPaypalPlatform when
they register themselves.
Implementation
static set instance(MethodChannelPaypalNativeCheckout instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}