valueOrGet method
t
valueOrGet(
- t get()
inherited
In case there is a value, retrieve it, otherwise return the result of the
get
callback.
Implementation
T valueOrGet(T Function() get) => _self.visit<T>(just: _identity, none: get);