hasValue property

bool get hasValue

Indicates if value is not null.

Implementation

bool get hasValue => value != null;