SamplingProfileNode.fromJson constructor

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

Implementation

factory SamplingProfileNode.fromJson(Map<String, dynamic> json) {
  return SamplingProfileNode(
    size: json['size'] as num,
    total: json['total'] as num,
    stack: (json['stack'] as List).map((e) => e as String).toList(),
  );
}