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