map<R> method
map result
Implementation
Result<R> map<R>(R Function(T value) func) {
return fold(Result.error, (value) => successResult(func(value)));
}
map result
Result<R> map<R>(R Function(T value) func) {
return fold(Result.error, (value) => successResult(func(value)));
}