isNumbersOnly function

bool isNumbersOnly(
  1. String input
)

Implementation

bool isNumbersOnly(String input) => RegExp('[0-9]').hasMatch(input);