either_option 1.0.1
either_option: ^1.0.1 copied to clipboard
The simple library for Error Handling with functionnal programming concept
either_option #
either_option is a simple library typed for easy and safe error handling with functional programming style in Dart.
It aims to allow flutter/dart developpers to use the 2 most popular patterns and abstractions :
Either
and Option
, mainly used in FP language like Scala, Haskell, OCaml,...
Installation #
Package link on pub either_option In your pubspec.yaml dependencies add
either_option: ^1.0.1
Example #
- Either & Option
Tests #
- Either
- Option