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.

3.2.0 #

  • Added equality checks, so Deferred.success([]) == Deferred.success([]).

3.1.0 #

  • Added mapBoth, flatMap, getOrDefault, getOrThrow methods.

3.0.0 #

  • Removed Flutter dependency and FutureBuilder2 widget.

2.1.0 #

  • Added mapSuccess and mapError methods.

2.0.0 #

  • Added separate maybeWhen for handling fallback cases.
  • Renamed where method to when.
  • Removed on- prefix from callback handlers.

1.0.0 #

  • Initial release.
1
likes
140
pub points
1%
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