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