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