use_in_case 1.4.3 copy "use_in_case: ^1.4.3" to clipboard
use_in_case: ^1.4.3 copied to clipboard

A Dart package that provides a set of functionality to help you write usecases.

0.1.0 #

Core Classes #

Examples

Tests

1.0.0 #

I'm glad to announce that Versin 2 has reached its initial state that can be published!

Core Classes #

Examples #

Documentation #

Cleanup #

Removed pretty much all dependencies from the pubspec except darz for the unit type. Removed use_in_case2.0 branch from git-workflow filter.

1.1.0 #

Documentation #

Breaking Changes #

errorMessage parameter in timeout modifier has been migrated to be a lazily-invoked callback due to unnecessary evaluation.

1.2.0 #

  • Removed documentation of deprecated method debounceBusyState in README.md
  • Updated example to call getOrThrow instead of execute.
  • Renamed execute interactor to runUnsafe
  • Edited documentation to match the new interactor signature.

1.2.1 #

  • Added map to library export

1.3.0 #

1.4.0 #

1.4.1 #

Bugfixes #

Re-invocation of callback provided as parameter in checkedIntercept is now awaited when called.

Examples #

Features #

New parameter allowMultiCatch added to the following function signatures:

Branding #

Shortened package description

1.4.2 #

Features #

Intercept #

allowMultiCatch has been renamed to consume. By default, all intercept-functions will consume exceptions and rethrow a HandledException in order to filter out previously caught exception types. Note that this behavior can be customized by providing false as parameter.

1.4.3 #

Bugfixes #

There was a bug in 'logEvents' that consumed exceptions event though they should've forwarded to the interception call.

3
likes
160
points
144
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package that provides a set of functionality to help you write usecases.

Repository (GitHub)
View/report issues

Topics

#dart #utility

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dartz

More

Packages that depend on use_in_case