Store.watch() events detail

Issue

[Flutter/Dart]
What kind of information can I get from the Store.watch() stream?
Can I get entity type and entity id of insert/update/delete? Do I get a timestamp as well?

Thanks

-nat

Solution

Store.watch<EntityT>() gives you changes for a given entity type (dart type). There’s currently no way to get the exact object IDs for local changes – this is only present for changes received via ObjectBox Sync (on a SyncClient.changeEvents)

Answered By – vaind

Answer Checked By – Cary Denson (FlutterFixes Admin)

Leave a Reply

Your email address will not be published.