Number(num value)

Creates a number literal with given value. Always holds a double internally.

Source

Number(num value): super(value.toDouble());