Open demonskp opened 5 years ago
Hey, nice find. The tool should generate camelCase
property names.
_nAME
is an inverted CamelCase which would not comply._NAME
is not camelCase either._name
should be the proper name for the property.So the new rule should be, if a property name is all UPPERCASE, then lowercase the property name in the dart class.
The first letter of the word that should have been all capitalized has become a lowercase letter. Is this because of a grammatical limitation or an unresolved bug?
Please pay attention to the class Result and the Attributes NAME。
Thanks。
My Json:
Expected
generate:
NOW
generate: