dartsult 0.1.3 copy "dartsult: ^0.1.3" to clipboard
dartsult: ^0.1.3 copied to clipboard

A library implements Rust style [Result] for Dart error handle.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dartsult

With Flutter:

 $ flutter pub add dartsult

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

dependencies:
  dartsult: ^0.1.3

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:dartsult/dartsult.dart';
2
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A library implements Rust style [Result] for Dart error handle.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

meta

More

Packages that depend on dartsult