toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'filters': filters.toJson(),
'aggregatableDedupKeys':
aggregatableDedupKeys.map((e) => e.toJson()).toList(),
'eventTriggerData': eventTriggerData.map((e) => e.toJson()).toList(),
'aggregatableTriggerData':
aggregatableTriggerData.map((e) => e.toJson()).toList(),
'aggregatableValues': aggregatableValues.map((e) => e.toJson()).toList(),
'aggregatableFilteringIdMaxBytes': aggregatableFilteringIdMaxBytes,
'debugReporting': debugReporting,
'sourceRegistrationTimeConfig': sourceRegistrationTimeConfig.toJson(),
'aggregatableDebugReportingConfig':
aggregatableDebugReportingConfig.toJson(),
if (debugKey != null) 'debugKey': debugKey!.toJson(),
if (aggregationCoordinatorOrigin != null)
'aggregationCoordinatorOrigin': aggregationCoordinatorOrigin,
if (triggerContextId != null) 'triggerContextId': triggerContextId,
};
}