isNumeric property

bool get isNumeric

Implementation

bool get isNumeric => RegExp(r'^\d+$').hasMatch(this);