AttributionReportingAggregatableValueEntry.fromJson constructor

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

Implementation

factory AttributionReportingAggregatableValueEntry.fromJson(
  Map<String, dynamic> json,
) {
  return AttributionReportingAggregatableValueEntry(
    values: (json['values'] as List)
        .map(
          (e) => AttributionReportingAggregatableValueDictEntry.fromJson(
            e as Map<String, dynamic>,
          ),
        )
        .toList(),
    filters: AttributionReportingFilterPair.fromJson(
      json['filters'] as Map<String, dynamic>,
    ),
  );
}