If a JSON has an uppercase field for example { TestField: "" } it will generate dart code with testField which doesn't match with JSON and throws error while mapping.
If a JSON has an uppercase field for example
{
TestField: ""
}
it will generate dart code with
testField
which doesn't match with JSON and throws error while mapping.