isNumeric method

bool isNumeric(
  1. String s
)

Implementation

bool isNumeric(String s) => int.tryParse(s) != null;