result_class 1.0.0-nullsafety copy "result_class: ^1.0.0-nullsafety" to clipboard
result_class: ^1.0.0-nullsafety copied to clipboard

outdated

A type that represents either success or failure, similar to Rusts std::result.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add result_class

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

dependencies:
  result_class: ^1.0.0-nullsafety

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_class/result_class.dart';
1
likes
0
points
45
downloads

Publisher

verified publishernexam.de

Weekly Downloads

A type that represents either success or failure, similar to Rusts std::result.

Homepage

License

unknown (license)

More

Packages that depend on result_class