isConcessionary static method

bool isConcessionary(
  1. String barcode
)

Returns true if the barcode is of type concessionary; returns false for regular barcodes.

Implementation

static bool isConcessionary(String barcode) => barcode.substring(0, 1) == '8';