lAndGPatterns property

List<List<int>> lAndGPatterns
final

As above but also including the "even", or "G" patterns used to encode UPC/EAN digits.

Implementation

static final List<List<int>> lAndGPatterns = List.generate(
  20,
  (index) => index < 10
      ? lPatterns[index].toList()
      : List.generate(
          lPatterns[index - 10].length,
          (idx) =>
              lPatterns[index - 10][lPatterns[index - 10].length - idx - 1],
        ),
);