ensure_initialized 0.1.0 copy "ensure_initialized: ^0.1.0" to clipboard
ensure_initialized: ^0.1.0 copied to clipboard

Allows to await for an object's initialization before using it.

0.1.0 #

Deprecation #

EnsureInitialized and EnsureInitializedResult were renamed to EnsureInitializedMixin and EnsureInitializedResultMixin. They were not removed but marked as deprecated instead. Consider migrating soon.

Features #

  • Test coverage 💪
  • Objects can now be reinitialized
  • whenInitialized and whenUninitialized streams
  • Minor refactoring

0.0.3 #

Use meta of version 1.3.0 to resolve version conflicts with the flutter SDK.

0.0.2 #

Make initializedSuccessfully and initializedWithError methods throw an exception if object has already been initialized.

0.0.1+2 #

Readme Updates

0.0.1+1 #

Readme Updates

0.0.1 #

Initial release.

9
likes
140
pub points
64%
popularity

Publisher

unverified uploader

Allows to await for an object's initialization before using it.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on ensure_initialized