isNumeric static method

bool isNumeric(
  1. String? value
)

Implementation

static bool isNumeric(String? value) {
  return value != null && double.tryParse(value) != null;
}