Open Kasre96 opened 3 years ago
This solves the error
dio_http_cache:
git:
url: https://github.com/hurshi/dio-http-cache.git
ref: 9aa5cf72fe2cbfe7368143a022c243ee883911b0
Thanks, @biswa1751. Let me check it out.
Because app depends on dio_http_cache ^0.3.0 which depends on json_serializable ^4.1.4, json_serializable ^4.1.4 is required. So, because app depends on json_serializable ^6.1.4, version solving failed. pub get failed (1; So, because app depends on json_serializable ^6.1.4, version solving failed.) @biswa1751
I'm getting this error while migrating to null safety:
Because dio_http_cache 0.2.11 depends on json_serializable ^3.0.0 and no versions of dio_http_cache match >0.2.11 <0.3.0, dio_http_cache ^0.2.11 requires json_serializable ^3.0.0. So, because <my_project_name> depends on both json_serializable ^4.1.0 and dio_http_cache ^0.2.11, version solving failed.
What's the update on migration?