is2D property

bool get is2D

A two-dimensional code (never draws text).

Implementation

bool get is2D => switch (this) {
      qrCode || pdf417 || aztec || dataMatrix => true,
      code128 || ean13 => false,
    };