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