roundToDouble method

double? roundToDouble()

Returns this.toDouble().

Implementation

double? roundToDouble() => value?.roundToDouble();