Check if a String is numeric value
static bool isNumeric(String s) { try { double.parse(s); return true; } catch (e) { Log().debug('$e'); } return false; }