AttributionReportingTriggerSpec.fromJson constructor

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

Implementation

factory AttributionReportingTriggerSpec.fromJson(Map<String, dynamic> json) {
  return AttributionReportingTriggerSpec(
    triggerData: (json['triggerData'] as List).map((e) => e as num).toList(),
    eventReportWindows: AttributionReportingEventReportWindows.fromJson(
        json['eventReportWindows'] as Map<String, dynamic>),
  );
}