hasValue property

bool get hasValue

Implementation

bool get hasValue => value != null;