containsNumeric method

bool containsNumeric(
  1. String str
)

Check string contains numeric.

Implementation

bool containsNumeric(String str) {
  RegExp reg = RegExp(_Regex().containsNumeric);

  return reg.hasMatch(str);
}