fresult 1.0.0 copy "fresult: ^1.0.0" to clipboard
fresult: ^1.0.0 copied to clipboard

A Dart package providing Result types for better error handling with freezed.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add fresult

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

dependencies:
  fresult: ^1.0.0

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:fresult/fresult.dart';
1
likes
0
points
299
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package providing Result types for better error handling with freezed.

Repository (GitHub)
View/report issues

Topics

#result #error-handling #freezed #functional-programming

License

unknown (license)

Dependencies

freezed_annotation

More

Packages that depend on fresult