FrameTree.fromJson constructor
Implementation
factory FrameTree.fromJson(Map<String, dynamic> json) {
return FrameTree(
frame: FrameInfo.fromJson(json['frame'] as Map<String, dynamic>),
childFrames:
json.containsKey('childFrames')
? (json['childFrames'] as List)
.map((e) => FrameTree.fromJson(e as Map<String, dynamic>))
.toList()
: null,
);
}