Closed muonroi closed 11 months ago
I encountered an above exeption when use version ^0.1.7+2-nullsafety.3. When run command 'flutter pub add signalr_netcore' it will auto detect version '^0.1.7+2-nullsafety.3'. Because signalr_netcore >=1.3.5 depends on http ^0.13.6 and my project depends on http ^1.1.0, signalr_netcore >=1.3.5 is forbidden. I sloved above issue when use version at branch
signalr_netcore:
git:
url: https://github.com/geekz-reno/signalr_client.git
ref: master
When function hub not return value then have exeption ([ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'Object').
![image](https://github.com/sefidgaran/signalr_client/assets/86833891/ec5dd546-5d8b-4c91-a31d-36481853d676)