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