toDouble method Null safety

  1. @override
double toDouble()
override

Returns the double representation of this integer.

On some platforms, inputs with large absolute values (i.e., > 2^52) may lose some of their low-order bits.

Implementation

@override
double toDouble() => toInt().toDouble();