json_model
json_model copied to clipboard
Get dependencies报错
引入了最新版本的json_model和json_serializable,进行get dependencies出错:
Because json_model 0.0.2 depends on json_serializable ^2.0.0 and no versions of json_model match >0.0.2 <0.1.0, json_model ^0.0.2 requires json_serializable ^2.0.0.
So, because web_socket depends on both json_serializable ^3.2.2 and json_model ^0.0.2, version solving failed.
Please update.
Please update.
In my project, "json_model" and "json_serializable" all the latest version. But it still failed after I do packages get.
Please update.
In my project, "json_model" and "json_serializable" all the latest version. But it still failed after I do packages get.
Use "dependency_overrides" in pubspec.yaml can fix it. like this: dependency_overrides: json_serializable: ^3.2.2 build_runner_core: ^4.0.0 json_annotation: ">=3.0.0 <3.1.0"