EAN13 constructor

EAN13({
  1. int? module,
})

Create a EAN13 symbology with the default or required properties.

The arguments module must be non-negative and greater than 0.

EAN13 allows either 12 or 13 digits of numeric data otherwise there is an exception.

If the input is 12 digits of the numeric data, the check digit is calculated automatically.

If the input is 13 digits of the numeric data, the last digit must be valid check digit otherwise remove it, since it has been calculated automatically.

Implementation

EAN13({int? module}) : super(module: module);