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

请问大佬,Customize 这个怎么在vscode中自定义使用呢?? #10

Open
ke112 opened this issue Nov 20, 2022 · 1 comment
Open
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested

Comments

@ke112
Copy link

ke112 commented Nov 20, 2022

jsonToDart:
outputFolder: lib/models #default: lib/
typeChecking: true #default: undefined (Select from picker)
nullValueDataType: String #default: dynamic
nullSafety: false #default: true
copyWithMethod: true #default: false
mergeArrayApproach: false #default: true

#default: false,
#if true, value = (json[key] as num).toInt() or value = (_data[key] as num).toDouble()
#if false, value = json[key]
#if "ask", selection popup will apear before parse json
checkNumberAsNum: true # true, false, "ask"

具体怎么使用呢,, 请问下大佬,,,在setting.json 中 怎么自定义呢??? 求指教

@shiburagi
Copy link
Owner

shiburagi commented Dec 9, 2022

in pubspec.yaml
Example

@shiburagi shiburagi added documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested labels Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants