roundToDouble method Null safety

double? roundToDouble()

Returns this.toDouble().

Implementation

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