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