Jmix REST API and entity reference in flutter

Hi
I have created some API in the REST API add-on and when I try to use it in Flutter development IDE then the $ sign for the entity reference creates a problem.

Here is my URL reference to read JSON data

final String urltext = 'http://localhost:8080/myapp/rest/v2/queries/erp$LeaveApplication/leaveApplicationList';

and see how it looks

image

Message:
image

Can anyone share how you manage this problem?

Perhaps you can use a “raw string”: flutter - How to add dollar sign $ to strings in Dart? - Stack Overflow