Open ameeee opened 4 years ago
I have the same problem.
Maybe your client arguments are not matching or their types are not matching with your server method. If the argument type in Server method is integer and you are trying to pass string, it would cause such thing. https://ghulamustafa.com/2021/01/16/how-to-use-signalr-with-flutter-for-chat/
Has somebody fixed it? I have the same problem...
https://github.com/dvshin/signalr_client
I have forked this project and modified myself. This works fine for my project.
This is my CommentHub in flutter:
This is my CommentHub.cs in asp.net core:
Can someone please tell me what's the wrong thing im doing as im always getting this error when i invoke executeTest:
Unhandled Exception: type 'GeneralError' is not a subtype of type 'Error' in type cast