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