SamplingHeapProfileSample.fromJson constructor

SamplingHeapProfileSample.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SamplingHeapProfileSample.fromJson(Map<String, dynamic> json) {
  return SamplingHeapProfileSample(
    size: json['size'] as num,
    nodeId: json['nodeId'] as int,
    ordinal: json['ordinal'] as num,
  );
}