valueOr method
t
valueOr(
- t orElse
inherited
In case there is a value, retrieve it, otherwise return the orElse
value.
Implementation
T valueOr(T orElse) => valueOrGet(() => orElse);
In case there is a value, retrieve it, otherwise return the orElse
value.
T valueOr(T orElse) => valueOrGet(() => orElse);