ComponentTreeNode.fromJson constructor
Implementation
ComponentTreeNode.fromJson(Map<String, dynamic> json)
: this(
json['id'] as int,
json['name'] as String,
json['toString'] as String,
json['isPositionComponent'] as bool,
(json['children'] as List)
.map((e) => ComponentTreeNode.fromJson(e as Map<String, dynamic>))
.toList(),
);