toolValueFromJson method
Parse a JSON string back into a ToolValue. Recursive walk lives in
commons (rac_tool_value_from_json_proto); Dart only marshals bytes.
Implementation
ToolValue toolValueFromJson(String json) {
final fn = RacNative.bindings.rac_tool_value_from_json_proto;
final wrapper = ToolValueJSON(json: json);
return DartBridgeProtoUtils.callRequest<ToolValue>(
request: wrapper,
invoke: fn,
decode: ToolValue.fromBuffer,
symbol: 'rac_tool_value_from_json_proto',
);
}