onUpdated
This callback is invoked when a SyncDocument has been modified by a local request.
Parameters
context
Context indicating if change was local or remote.
data
New contents of the document.
previousData
Previous contents of the document.