sendGlobalKeys method
Implementation
Future<void> sendGlobalKeys() async {
try {
final serverUrl = getServerUrl();
final body = json.safeEncode(EditorMessage("globalVars", {
"keys": Lowder.globalVariables.keys.toList(),
}));
await http.post(Uri.parse(serverUrl), body: body);
} catch (e, stack) {
_log.severe("Error sending GlobalKeys to Editor: $e", e, stack);
}
}