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