SamplingHeapProfileNode.fromJson constructor
Implementation
factory SamplingHeapProfileNode.fromJson(Map<String, dynamic> json) {
return SamplingHeapProfileNode(
callFrame:
runtime.CallFrame.fromJson(json['callFrame'] as Map<String, dynamic>),
selfSize: json['selfSize'] as num,
id: json['id'] as int,
children: (json['children'] as List)
.map((e) =>
SamplingHeapProfileNode.fromJson(e as Map<String, dynamic>))
.toList(),
);
}