ToDouble constructor Null safety

ToDouble(
  1. dynamic expr
)

Creates $toDouble operator expression

Converts a value to a double. If the value cannot be converted to an double, $toDouble errors. If the value is null or missing, $toDouble returns null.

The ToDouble takes any valid expression.

Implementation

ToDouble(expr) : super('toDouble', expr);