entityChanges property

Stream<List<Type>> 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);