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