renderTreeFromJson function

RenderObjectData? renderTreeFromJson(
  1. Map<String, dynamic>? json
)

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);
}