only_results 1.0.2 copy "only_results: ^1.0.2" to clipboard
only_results: ^1.0.2 copied to clipboard

A dart implementation of Rusts Result type

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add only_results

With Flutter:

 $ flutter pub add only_results

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

dependencies:
  only_results: ^1.0.2

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:only_results/only_results.dart';
4
likes
140
pub points
3%
popularity

Publisher

unverified uploader

A dart implementation of Rusts Result type

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on only_results