apn_cache 0.1.2 copy "apn_cache: ^0.1.2" to clipboard
apn_cache: ^0.1.2 copied to clipboard

In memory caching service for Flutter projects

0.1.2 #

  • Fix: Only return first element from getSingle when stream has events

0.1.1 #

  • Fix: Notify listeners when there is no server data available.

0.1.0 - BREAKING #

  • BREAKING: Renamed clearCache to removeList. Migrate to removeList(key, emit: false) to reproduce old behaviour
  • Added removeSingle
  • Added option to remove select models by id via removeList(modelIds:[string]) and removeSingle(string)
  • Added option to broadcast removals from cache via removeList(emit: bool), removeSingle(emit: bool) default true
  • Added tests for the new functionality

0.0.2 #

  • Avoid name clashes in the internal stream keys, to make sure different Types T are given unique steams

0.0.1 #

  • Extracted working version with single model and list of models
0
likes
120
points
40
downloads

Publisher

verified publisherappnormal.com

Weekly Downloads

In memory caching service for Flutter projects

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on apn_cache