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