Open aorhandev opened 3 years ago
@aorhancom Same issue. How did you solve that? Looks like signalr_core library doesn't correctly parse json objects. If API sends "key1":"value1", signalr_core always deliver us key1:value1 without quotation marks which is not valid json at all! @jamiewest
@aorhancom Hi Ahmed! I've just fixed this issue in my fork of this repository: https://github.com/zigapovhe/signalr_core
In order to use this feature, you have to add a parameter to (hubConnection?.on(method, (arguments, rawArguments) {}
Hello everyone,
I am new to flutter and I try use signalr at my project. Actually I succeed login, simple parameter and token. But I need multi parameter for my app. My friend prepared API for me. We must use one more parameter. I try same coding but I take a below error.
I wonder where I make mistakes? I tried different models but everytime I take same error.
My json model is
And then I use https://app.quicktype.io/. I convert to dart model. You can see below
And I wrote the codes as below in my view file.
I clicked button and I received this message in terminal. This error : "FormatException: Unexpected character (at character 4)"
How can I edit this error ?