hasValue property
bool
get
hasValue
Returns true if the current value is not null.
Implementation
bool get hasValue => value != null;
Returns true if the current value is not null.
bool get hasValue => value != null;