orTrue property

bool get orTrue

Returns the value or true if null.

Implementation

bool get orTrue => this ?? true;