onDecoded method

void onDecoded(
  1. String? code
)

Called when decoder has successfully decoded the code
Note that this method always called on a worker thread

@param code Encapsulates the result of decoding a barcode within an image

Implementation

void onDecoded(String? code) {
  _scannerCallBack?.onDecoded(code);
}