parseDouble method

double? parseDouble({
  1. double? nullValue,
})

Implementation

double? parseDouble({double? nullValue}) {
  try {
    return num.parse(this).toDouble();
  } catch (err, stackTrace) {
    ErrorReporter.log(err, stackTrace);
    return nullValue;
  }
}