resultx 1.0.1 copy "resultx: ^1.0.1" to clipboard
resultx: ^1.0.1 copied to clipboard

A Future Aware Result class to grcefully handle success and error and their Futures without the need to await on each step. It focuses on functional usage and method chaining to handle the results.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add resultx

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  resultx: ^1.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:resultx/resultx.dart';
2
likes
0
points
158
downloads

Publisher

verified publisherfahid.dev

Weekly Downloads

A Future Aware Result class to grcefully handle success and error and their Futures without the need to await on each step. It focuses on functional usage and method chaining to handle the results.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on resultx