SamplingHeapProfile.fromJson constructor
Implementation
factory SamplingHeapProfile.fromJson(Map<String, dynamic> json) {
return SamplingHeapProfile(
head: SamplingHeapProfileNode.fromJson(
json['head'] as Map<String, dynamic>),
samples: (json['samples'] as List)
.map((e) =>
SamplingHeapProfileSample.fromJson(e as Map<String, dynamic>))
.toList(),
);
}