SamplingStatisticSummary.fromJson constructor

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

Implementation

factory SamplingStatisticSummary.fromJson(Map<String, dynamic> json) {
  return SamplingStatisticSummary(
    borrowCount: json['BorrowCount'] as int?,
    requestCount: json['RequestCount'] as int?,
    ruleName: json['RuleName'] as String?,
    sampledCount: json['SampledCount'] as int?,
    timestamp: timeStampFromJson(json['Timestamp']),
  );
}