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