map<NV, NE extends Object> method
Implementation
@override
Result<NV, NE> map<NV, NE extends Object>({
NV Function(V v)? value,
NE Function(E e)? exception,
}) =>
exceptionOf<NV, NE>(exception?.call(_exception) ?? _exception as NE);