toDouble method

double? toDouble()

convert String to double if is possible else will return null

Implementation

double? toDouble() => _Parser(this).toDouble();