flutter_feathersjs.dart
flutter_feathersjs.dart copied to clipboard
cannot be called on 'Map<dynamic, dynamic>?' because it is potentially null
Describe the bug When building my app with this package, I get the error "cannot be called on 'Map<dynamic, dynamic>?' because it is potentially null." We were able to resolve the issue by changing this._socket.io.options['extraHeaders'] = to this._socket.io.options!['extraHeaders'].
I have attached a screenshot of the error and a screenshot of the fix. Can you implement this fix or a fix you deem necessary to resolve the issue?
To Reproduce Build app with package.
Expected behavior Build successfully.
Screenshots
Hi @palmtown
Thanks this.
It'll be nice to make a PR.
Can you ?
There is a PR available that fixes this issue. Can you merge it and release a new version?