postalCode constant

Pattern const postalCode

Postal Code

Implementation

static const Pattern postalCode = r"^\d{5}(-\d{4})?$";