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