isDefinitelyNonNull property

bool get isDefinitelyNonNull

Whether this state definitely represents non-null.

Implementation

bool get isDefinitelyNonNull => state == Nullability.definitelyNonNull;