createInstantUpdateMessage static method
Send instant update signal to connected browsers
Implementation
static String createInstantUpdateMessage(List<Map<String, dynamic>> changes) {
return jsonEncode({
'type': 'instant_update',
'timestamp': DateTime.now().millisecondsSinceEpoch,
'changes': changes,
});
}