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