eitherx 3.0.0 copy "eitherx: ^3.0.0" to clipboard
eitherx: ^3.0.0 copied to clipboard

Either provides a way to handle errors and exceptions in a more expressive and concise way

3.0.0 #

  • Breaking: Either is now a sealed class (and Left/Right are final), enabling exhaustive switch pattern matching over Left and Right without a default case.
  • Breaking: Require Dart 3 (sdk: ">=3.0.0 <4.0.0").

2.1.0 #

  • Add map, mapLeft, bimap, flatMap, getOrElse, orElse and ensure methods.

2.0.1 #

  • Remove meta dependency

2.0.0 #

  • Support better string representation.
  • Migrate to Dart 3.

1.0.4 #

  • Add isRight method

1.0.3 #

  • Add Unit class
  • Update ReadMe

1.0.2 #

  • fix compatibility flutter_test

1.0.1 #

  • Add example.
  • Change package description.

1.0.0 #

  • Initial version.
2
likes
160
points
310
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Either provides a way to handle errors and exceptions in a more expressive and concise way

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on eitherx