NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #1873 most downloaded on pub.dev
Multiple results for dart. Inspired by dartz's Either and Kotlin's sealed classes
Latest stable
5.3.0
Last release 8 months ago
14 Mar 2026
Release timing varies
gaps range from 3 weeks to 1.8 years
Most releases are documented
notes for 9 of 13 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
13 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Error.getOrThrow() now correctly passes to SuccessResultNotFoundException, so toString() shows the actual types instead of dynamic.
Error.getOrThrow() now correctly passes <S, E> to SuccessResultNotFoundException, so toString() shows the actual types instead of dynamic.Result.tryCatch(action, onError) — static factory that wraps a potentially-throwing synchronous computation.getOrElse(orElse) — returns the success value or a fallback computed from the error.onSuccess(action) / onError(action) — side-effect tap methods that execute an action without transforming the result, returning this for chaining.flatMapError(mapper) — symmetric counterpart to flatMap for the error channel.recover(mapper) — alias for flatMapError.swap() — converts Success to Error and vice versa.AsyncResult<S, E> — zero-cost Future<Result<S, E>> wrapper via Dart extension types, with a full mirrored API (mapSuccess, mapError, map, flatMap, flatMapAsync, flatMapError, swap, onSuccess, onError, getOrThrow, getOrElse, tryGetSuccess, tryGetError, when, isSuccess, isError, and tryCatch).AsyncResultOf<S, E> typedef alias for AsyncResult<S, E>.Full Changelog: https://github.com/higorlapa/result/compare/v5.2.0...v5.3.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/higorlapa/result/compare/v5.1.0...v5.2.0
Full Changelog: https://github.com/higorlapa/result/compare/v5.1.0...v5.2.0
Update result.dart by @NerdFaisal404 in https://github.com/higorlapa/result/pull/12
Full Changelog: https://github.com/higorlapa/result/compare/v5.0.0...v5.1.0
Full Changelog: https://github.com/higorlapa/result/compare/v4.0.0...v5.0.0
Full Changelog: https://github.com/higorlapa/result/compare/v4.0.0...v5.0.0
Change onSuccess and onError to whenSuccess and whenError
onSuccess and onError to whenSuccess and whenErrorFull Changelog: https://github.com/higorlapa/result/compare/v3.1.0...v4.0.0
Refactor AsyncResult to typedef of Future by @jacobaraujo7 in https://github.com/higorlapa/result/pull/6
Full Changelog: https://github.com/higorlapa/result/compare/v3.0.0...v3.1.0
Add new operators, a Unit type for void return and AsyncResult by @jacobaraujo7 in https://github.com/higorlapa/result/pull/5
Full Changelog: https://github.com/higorlapa/result/compare/v2.0.0...v3.0.0
fix: Flip the types by @JoDeveloper in https://github.com/higorlapa/result/pull/4
Full Changelog: https://github.com/higorlapa/result/compare/v1.0.4...v2.0.0
Adds getSuccess and getError methods
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.