We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab9c19 commit d593e78Copy full SHA for d593e78
templates/dart/lib/src/models/model.dart.twig
@@ -47,7 +47,7 @@ class {{ definition.name | caseUcfirst | overrideIdentifier }} implements Model
47
{%- endif -%},
48
{% endfor %}
49
{% if definition.additionalProperties %}
50
- data: map["data"],
+ data: map["data"] ?? map,
51
{% endif %}
52
);
53
}
0 commit comments