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