isNumeric method

bool isNumeric(
  1. String s
)

Implementation

bool isNumeric(String s) {
  return double.tryParse(s) != null;
}