TestMetricFilterResponse.fromJson constructor

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

Implementation

factory TestMetricFilterResponse.fromJson(Map<String, dynamic> json) {
  return TestMetricFilterResponse(
    matches: (json['matches'] as List?)
        ?.whereNotNull()
        .map((e) =>
            MetricFilterMatchRecord.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}