tryToDouble method

double? tryToDouble()

tries to convert string to double

Implementation

double? tryToDouble() => tryToNum()?.toDouble();