toDouble method

double? toDouble()

This number as a double.

If an integer number is not precisely representable as a double, an approximation is returned.

Implementation

double? toDouble() => value?.toDouble();