toDouble abstract method
Returns this BigInt as a double.
If the number is not representable as a double, an approximation is returned. For numerically large integers, the approximation may be infinite.
Example:
var bigNumber = BigInt.parse('100000000000000000000000');
print(bigNumber.toDouble()); // 1e+23
Implementation
double toDouble();