💊 Result Type for Dart represents either a success or a failure, including an associated value in each case.
-
Updated
Apr 30, 2024 - Dart
💊 Result Type for Dart represents either a success or a failure, including an associated value in each case.
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.
A Dart package for result-oriented programming, providing Result<R, E> type with convenient methods for streamlined error handling.
Provides Rust-like Result and Option types.
Add a description, image, and links to the result-type topic page so that developers can more easily learn about it.
To associate your repository with the result-type topic, visit your repo's landing page and select "manage topics."