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