no message

This commit is contained in:
cpdl
2025-05-07 17:01:30 +08:00
parent 114980dab0
commit b2c3c09c20
9 changed files with 57 additions and 52 deletions

View File

@@ -69,3 +69,6 @@ std::string map_2_json(const flutter::EncodableMap& map) {
auto json_string = json_object.dump(); // 序列化为 JSON 字符串
return json_string; // 序列化为 JSON 字符串
}
std::string value_2_json(flutter::EncodableValue value){
return EncodableValueToJson(value).dump();
}