optionally2<V> method
Implementation
@deprecated
Using<T> optionally2<V>(final T Function(T value, V optional) mapper, final Optional<V> optional) {
return Using<T>(optional.map((opt) => mapper(value, opt)).orElseGet(value));
}
@deprecated
Using<T> optionally2<V>(final T Function(T value, V optional) mapper, final Optional<V> optional) {
return Using<T>(optional.map((opt) => mapper(value, opt)).orElseGet(value));
}