orZero property

num get orZero

Returns the value or 0 if null.

Implementation

num get orZero => this ?? 0;