renderTreeFromJson function
Implementation
RenderObjectData? renderTreeFromJson(Map<String, dynamic>? json) {
if (json == null || json.isEmpty) {
// Null is returned if no element has been marked for visualization.
return null;
}
return RenderObjectData.fromJson(json);
}