flatMapError method
Result<V>
flatMapError(
- Result<
V> transform(- dynamic
Implementation
$async.Result<V> flatMapError($async.Result<V> Function(dynamic) transform) {
if (isValue) {
return $async.Result.value(asValue!.value);
} else {
return transform(asError!.error);
}
}