shamblett / coap

A Coap package for dart
Other
16 stars 13 forks source link

Fixes issue #107 #109

Closed JosefWN closed 1 year ago

JosefWN commented 1 year ago

The named constructors were not setting CoapCode.empty, converted to factory constructors to re-use the main constructor.

EDIT: Also had to downgrade a couple of dependencies to get things to work with the latest version of Flutter, a bit of an annoyance that they are not up to speed.

JKRhb commented 1 year ago

Thanks, @JosefWN, I will try out the changes ASAP :)

EDIT: Also had to downgrade a couple of dependencies to get things to work with the latest version of Flutter, a bit of an annoyance that they are not up to speed.

I think the downgrade is not actually needed (anymore), you can update the internal dependencies using flutter update-packages --force-upgrade, this solved the issue for me.

JosefWN commented 1 year ago

Cool, reverted the dependency downgrade commit :)