ez_either 0.0.2 copy "ez_either: ^0.0.2" to clipboard
ez_either: ^0.0.2 copied to clipboard

An easy approach of two types returning for Dart.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ez_either

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

dependencies:
  ez_either: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ez_either/ez_either.dart';
0
likes
130
pub points
1%
popularity

Publisher

unverified uploader

An easy approach of two types returning for Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on ez_either