result_type 0.0.1 copy "result_type: ^0.0.1" to clipboard
result_type: ^0.0.1 copied to clipboard

outdated

Result Type represents either a success or a failure, including an associated value in each case.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add result_type

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

dependencies:
  result_type: ^0.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:result_type/result_type.dart';
33
likes
0
pub points
88%
popularity

Publisher

verified publisherminikin.me

Result Type represents either a success or a failure, including an associated value in each case.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on result_type