isTrue property

bool get isTrue

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

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

Implementation

bool get isTrue => val;