renderTreeToJson function
Implementation
Map<String, Object?> renderTreeToJson(RenderObjectData? data) {
if (data == null) {
// Null is returned if no element has been marked for visualization.
return {};
}
return data.toJson();
}
Map<String, Object?> renderTreeToJson(RenderObjectData? data) {
if (data == null) {
// Null is returned if no element has been marked for visualization.
return {};
}
return data.toJson();
}