Future<void> log(String type, Map<String, dynamic> data) async { await _invoke("log", {"type": type, "data": data}); }