isNumeric function

bool isNumeric(
  1. String str
)

check if the string str contains only numbers

Implementation

bool isNumeric(String str) => _numeric.hasMatch(str);