fromJson static method

RenderTree fromJson(
  1. Map<String, dynamic> json
)

Deserializes the result from JSON.

Implementation

static RenderTree fromJson(Map<String, dynamic> json) {
  return RenderTree(json['tree'] as String);
}