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