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

Sealed Result and Option types with C0-compatible wire codecs for Dart applications.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add diene_result

With Flutter:

 $ flutter pub add diene_result

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

dependencies:
  diene_result: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:diene_result/diene_result.dart';
0
likes
160
points
1.44k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Sealed Result and Option types with C0-compatible wire codecs for Dart applications.

Repository (GitHub)
View/report issues

Topics

#result #option #error-handling #functional-programming #railway-oriented-programming

License

MIT (license)

Dependencies

diene_problems

More

Packages that depend on diene_result