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