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