Skip to content

Commit cf787db

Browse files
committed
fix end bracket
1 parent 78bf4c3 commit cf787db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/dart/lib/src/models/model.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class {{ definition.name | caseUcfirst | overrideIdentifier }} implements Model
1818
{% if definition.additionalProperties %}
1919
required this.data,
2020
{% endif %}
21-
{% if definition.properties | length %}{{ '}' }}{% endif %});
21+
{% if definition.properties | length or definition.additionalProperties %}{{ '}' }}{% endif %});
2222

2323
factory {{ definition.name | caseUcfirst | overrideIdentifier}}.fromMap(Map<String, dynamic> map) {
2424
return {{ definition.name | caseUcfirst | overrideIdentifier }}(

0 commit comments

Comments
 (0)