Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] copyWith 生成位置 #147

Closed
zhangruiyu opened this issue Aug 4, 2023 · 0 comments
Closed

[Feature request] copyWith 生成位置 #147

zhangruiyu opened this issue Aug 4, 2023 · 0 comments

Comments

@zhangruiyu
Copy link
Collaborator

Platforms

dart

Description

copyWith方法的实现能否跟fromJson一样移到.g.dart文件里面动态更新。 一来这一堆看着头疼,二来每次接口变动了增加或减少了字段,都需要手动维护copyWith方法挺麻烦的。

Why

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant