orZero property

double get orZero

Returns the value or 0.0 if null.

Implementation

double get orZero => this ?? 0.0;