isDouble method

bool isDouble()

check this string value convertible in double or not

Implementation

bool isDouble() => isEmptyOrNull ? false : double.tryParse(this!) != null;