isNumeric method

bool isNumeric()

check if string is a number.

Implementation

bool isNumeric() => double.tryParse(this) != null;