either_dart 0.1.3
either_dart: ^0.1.3 copied to clipboard
Error handler library for type-safe and easy work with errors on Dart and Flutter. Either is an alternative to Nullable value and Exceptions.
either dart ·
#
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].
Installation #
Add on pubspec.yml:
dependencies:
either_dart: ... // latest package version
Documentation #
https://pub.flutter-io.cn/documentation/either_dart/latest/either/either-library.html