A small typed and safe library for error handling with functionnal programming concept in Dart and flutter project
-
Updated
Oct 31, 2022 - Dart
A small typed and safe library for error handling with functionnal programming concept in Dart and flutter project
A lightweight Dart library for Rust-like Option/Result types and associated pattern matching
💊 Result Type for Dart represents either a success or a failure, including an associated value in each case.
record_result is a Dart package that provides a type called Result for handling the outcomes of operations. It can represent either a successful result or a failure, allowing you to handle errors in a more functional and expressive way.
Encapsulate a value as a success or an error as a failure using Result and execute a function using runCatching that returns a Result, both similar to those found in Kotlin.
FP opinionated in Flutter & Dart
Add a description, image, and links to the result topic page so that developers can more easily learn about it.
To associate your repository with the result topic, visit your repo's landing page and select "manage topics."