hasValue property
bool
get
hasValue
Alias for whether valueOrNull is non-null.
Implementation
bool get hasValue => valueOrNull != null;
Alias for whether valueOrNull is non-null.
bool get hasValue => valueOrNull != null;