core.Map<core.String, core.dynamic> toJson() => { if (aggregateProperties != null) 'aggregateProperties': aggregateProperties!, };