DescribeMetricFiltersResponse.fromJson constructor

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

Implementation

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