verify method

void verify(
  1. String data
)

Check if the Barcode is valid. Throws BarcodeException with a proper message in case of error

Implementation

void verify(String data) => verifyBytes(utf8.encoder.convert(data));