discontinuedPackage dio_cache_interceptor_objectbox_store has been discontinued and replaced by http_cache_objectbox_store.

entityChanges property

Stream<List<Type>> get entityChanges

Returns a broadcast stream to data changes on all Entity types.

The stream receives an event whenever any data changes in the database. Make sure to cancel() the subscription after you're done with it to avoid hanging change listeners.

Implementation

Stream<List<Type>> get entityChanges =>
    _entityChanges ??= _watchAll(broadcast: true);