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