digits property

RegExp digits
final

Matches a string containing only digits (0–9).

Implementation

static final RegExp digits = RegExp(r'^\d+$');