single_item_storage 1.0.4+1 copy "single_item_storage: ^1.0.4+1" to clipboard
single_item_storage: ^1.0.4+1 copied to clipboard

outdated

A single item storage abstraction with CRUD operations. Use it for abstracting (complex) storage implementations, testing, and quickly swapping implementations.

1.0.4 #

  • Added silent Storage interactions to ObservedStorage.

    The following will not trigger updates or updatesSticky:

    myObservedStorage.silent.save(item)

1.0.3 #

  • Used any version for async dependency to avoid version conflicts

1.0.2 #

  • Added StubStorage
  • Added Observed Storage that has listener for changes

1.0.1 #

  • Remove unused Flutter dependency.

1.0.0 #

  • Added null safety
  • Breaking change: storage.get() is now nullable. Null is returned when an item is not found
  • Breaking change: DataNotFound exception is removed

0.0.1 #

  • Initial version. Storage abstraction defined. In-memory cache implementations provided.
4
likes
0
pub points
71%
popularity

Publisher

unverified uploader

A single item storage abstraction with CRUD operations. Use it for abstracting (complex) storage implementations, testing, and quickly swapping implementations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async

More

Packages that depend on single_item_storage