digitsOnly property

RegExp digitsOnly
final

Digits only

Implementation

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