watch method
Watches the query results for changes
Implementation
Stream<List<Map<String, dynamic>>> watch() {
final localStorage = SyncLayerCore.instance.localStorage;
// Watch the collection and apply filters/sorts on each update
return localStorage.watchCollection(collectionName).asyncMap((_) async {
return await get();
});
}