hasValue property

bool hasValue

Indicates if value is not null.

Implementation

bool get hasValue => value != null;