dars 0.3.0 copy "dars: ^0.3.0" to clipboard
dars: ^0.3.0 copied to clipboard

A Dart-idiomatic Result type package with first-class developer experience.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dars

With Flutter:

 $ flutter pub add dars

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

dependencies:
  dars: ^0.3.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:dars/dars.dart';
0
likes
160
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart-idiomatic Result type package with first-class developer experience.

Repository (GitHub)
View/report issues

Topics

#result-type #error-handling #functional-programming

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on dars