streamAll method
Streams all changes in the store.
Requests a stream from the server and returns that stream. The stream will initially report a StoreEvent.reset with all data in the store and then send other events, as data is modified on the server in realtime.
Implementation
Future<Stream<StoreEvent<T>>> streamAll() async {
final stream = await restApi.stream(
path: _buildPath(),
);
return stream.transform(StoreEventTransformer(
dataFromJson: dataFromJson,
patchSetFactory: (data) => StorePatchSet(store: this, data: data),
));
}