SetChildNodesEvent.fromJson constructor
Implementation
factory SetChildNodesEvent.fromJson(Map<String, dynamic> json) {
return SetChildNodesEvent(
parentId: NodeId.fromJson(json['parentId'] as int),
nodes: (json['nodes'] as List)
.map((e) => Node.fromJson(e as Map<String, dynamic>))
.toList(),
);
}