The library for error handling and railway oriented programming.
This library supports async "map" and async "then" hiding the boilerplate of working with asynchronous computations Future[Either].
Add on pubspec.yml:
dependencies:
either_dart: ... // latest package version
https://pub.dev/documentation/either_dart/latest/either/either-library.html
https://pub.dev/packages/either_dart
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.