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