TrialComponentMetricSummary.fromJson constructor

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

Implementation

factory TrialComponentMetricSummary.fromJson(Map<String, dynamic> json) {
  return TrialComponentMetricSummary(
    avg: json['Avg'] as double?,
    count: json['Count'] as int?,
    last: json['Last'] as double?,
    max: json['Max'] as double?,
    metricName: json['MetricName'] as String?,
    min: json['Min'] as double?,
    sourceArn: json['SourceArn'] as String?,
    stdDev: json['StdDev'] as double?,
    timeStamp: timeStampFromJson(json['TimeStamp']),
  );
}