dartz_plus 0.2.1
dartz_plus: ^0.2.1 copied to clipboard
A functional programming library for Dart and Flutter providing type-safe error handling with Either type, functional composition, and async support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartz_plusWith Flutter:
$ flutter pub add dartz_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dartz_plus: ^0.2.1Alternatively, 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:dartz_plus/dartz_plus.dart';