date constant

String const date

Implementation

static const String date = r'^\d{4}-\d{2}-\d{2}$';