validateBarcodeData static method
Validates barcode data for the specified type.
Checks if the provided data is valid for the barcode type.
data: The data to validatetype: The barcode type to validate against
Returns true if the data is valid for the barcode type.
Implementation
static bool validateBarcodeData(String data, BarcodeType type) {
return BarcodeGenerator.validateBarcodeData(data, type);
}