isDouble property

bool get isDouble

check this string value convertible in double or not

Implementation

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