onDocumentSync static method
Implementation
static void onDocumentSync({required String documentId, required String base64}) {
final doc = _documents[documentId]!;
if (doc.sendChangesToBackend != null) {
doc.sendChangesToBackend!(base64);
} else {
Logger.root.log(Level.WARNING, "Document sync handler is not attached");
}
}