time24 constant

Pattern const time24

Time (24-hour format) Regex Examples: 23:59, 00:00, 14:30

Implementation

static const Pattern time24 = r'^([01]\d|2[0-3]):([0-5]\d)$';