hasValue property

bool get hasValue

Alias for whether valueOrNull is non-null.

Implementation

bool get hasValue => valueOrNull != null;