isFalse property

bool get isFalse

Gets a boolean value indicating whether the nullable boolean is false.

Returns true if the value is not null and false, otherwise returns false.

Implementation

bool get isFalse => !(this ?? true);