Returns true if input is one or more digits and nothing else.
true
input
bool isNumbersOnly(String input) => _numbersOnlyRegExp.hasMatch(input);