changes<Value> method
Stream of changes (a pair of previous and current values of State) for given State mapper
mapper - mapper function to get exact state field to listen to
Stream<StoreChange<StatefulData<List<Post>>?>> get postsStream => getLocalInstance<PostsInteractor>().changes((state) => state.posts);
Implementation
Stream<StoreChange<Value>> changes<Value>(
Value Function(State state) mapper) =>
_store.changes(mapper);