PerfSample.fromJson constructor

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

Implementation

factory PerfSample.fromJson(Map<String, dynamic> json) {
  return PerfSample(
      slot: json["slot"],
      numTransactions: json["numTransactions"],
      numSlots: json["numSlots"],
      samplePeriodSecs: json["samplePeriodSecs"]);
}