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