sefidgaran / signalr_client

A Flutter SignalR Client for ASP.NET Core
https://pub.dev/packages/signalr_netcore
MIT License
78 stars 112 forks source link

BUG: Unhandled exception: type '_HashMap<String, String?>' is not a subtype of type 'Map<String, String>?' #11

Closed pawelpetruch closed 3 years ago

pawelpetruch commented 3 years ago

Unhandled exception: type '_HashMap<String, String?>' is not a subtype of type 'Map<String, String>?' in type cast #0 WebSupportingHttpClient._sendHttpRequest (package:signalr_netcore/web_supporting_http_client.dart:125:36) #1 WebSupportingHttpClient.send. (package:signalr_netcore/web_supporting_http_client.dart:79:12) #2 WebSupportingHttpClient.send. (package:signalr_netcore/web_supporting_http_client.dart:38:40) #3 new Future. (dart:async/future.dart:174:37) #4 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15) #5 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:395:19) #6 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:426:5) #7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

coffeecoding commented 3 years ago

@pawelpetruch I am using a different fork now and it works: https://github.com/jamiewest/signalr_core.

sefidgaran commented 3 years ago

Reported bug has been fixed and published. Closing this issue. feel free to mention if there is issue. thanks @pawelpetruch