Returns a new Result, mapping any Ok value using the given transformation.
@override @pragma("vm:prefer-inline") Err<W, F> map<W>(W Function(S ok) fn) { return Err<W, F>(err); }