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