toDouble method
O valor como double (o mais próximo).
Implementation
double toDouble() => switch (_kind) {
_nan => double.nan,
_posInf => double.infinity,
_negInf => double.negativeInfinity,
_ => double.parse(toString()),
};