deferred_type 3.2.0 copy "deferred_type: ^3.2.0" to clipboard
deferred_type: ^3.2.0 copied to clipboard

Dart algebraic data type and helper functions for working with asynchronous data.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add deferred_type

With Flutter:

 $ flutter pub add deferred_type

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

dependencies:
  deferred_type: ^3.2.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:deferred_type/deferred_type.dart';
1
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Dart algebraic data type and helper functions for working with asynchronous data.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection

More

Packages that depend on deferred_type