flatMap<W extends Object> method
Returns a new Result
, mapping any Success
value
using the given transformation and unwrapping the produced Result
.
Implementation
@override
Result<W, F> flatMap<W extends Object>(Result<W, F> Function(S success) fn) {
return fn(_success);
}