mallard 1.0.0 copy "mallard: ^1.0.0" to clipboard
mallard: ^1.0.0 copied to clipboard

Railway Oriented Programming for Dart. Functional Result and Task types for type-safe error handling.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mallard

With Flutter:

 $ flutter pub add mallard

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

dependencies:
  mallard: ^1.0.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:mallard/mallard.dart';
0
likes
160
points
103
downloads

Publisher

verified publisherjakesmd.dev

Weekly Downloads

Railway Oriented Programming for Dart. Functional Result and Task types for type-safe error handling.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable

More

Packages that depend on mallard