fromCode static method

BarcodeValueType fromCode(
  1. int code
)

Returns the type corresponding to the code.

Implementation

static BarcodeValueType fromCode(int code) =>
    _codeToType[code] ?? BarcodeValueType.unknown;