orZero property

int get orZero

Returns the value or 0 if null.

Implementation

int get orZero => this ?? 0;