typed_result 2.0.0 copy "typed_result: ^2.0.0" to clipboard
typed_result: ^2.0.0 copied to clipboard

A result monad with two subtypes representing a success or a failure

2.0.0 #

  • Breaking change: Raised minimum Dart to >=3.0.0
  • Added partition, getAll and getAllErrors for interacting with a list of results
  • Added toErrorIf method

1.0.2 #

  • Added extensions for handling with Futures
  • Raised maximum Dart constraint to <4.0.0

1.0.1 #

  • Added and and andThen function.
  • Downgraded Dart SDK requirement from 2.18.2 to 2.18.0
  • Downgraded matcher dependency from 0.12.14 to 0.12.13

1.0.0 #

  • Removed Flutter dependency.
  • Added HasResultValue and HasResultError matchers for testing.

0.0.3 #

  • Added when function as an alternative to onSuccess and onFailure functions.

0.0.2 #

  • Fix extension name conflicting with Map class.

0.0.1 #

  • Initial release.
4
likes
160
pub points
58%
popularity

Publisher

unverified uploader

A result monad with two subtypes representing a success or a failure

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

matcher

More

Packages that depend on typed_result