isValid static method

bool isValid(
  1. String value,
  2. UBarcodeType type
)

Implementation

static bool isValid(String value, UBarcodeType type) => _barcodeFor(type).isValid(value);