Returns a new Result, mapping any Ok value using the given transformation.
@override Ok<W, F> map<W>(W Function(S ok) fn) { final newOk = fn(ok); return Ok<W, F>(newOk); }