isNotPresent property

bool get isNotPresent

True when this optional contains no value.

Implementation

bool get isNotPresent => _value == null;