sefidgaran / signalr_client

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

Bug: `_HashMap<String, String?> is not a subtype of type Map<String, String>?` #10

Closed coffeecoding closed 3 years ago

coffeecoding 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)`

pawelpetruch commented 3 years ago

@coffeecoding has this been resolved? I get the same issue.

pawelpetruch commented 3 years ago

@sefidgaran