isNumbersOnly function

bool isNumbersOnly(
  1. String input
)

Returns true if input is one or more digits and nothing else.

Implementation

bool isNumbersOnly(String input) => _numbersOnlyRegExp.hasMatch(input);