Skip to content

Commit 4ea29b6

Browse files
LahaLuhemLahaLuhem
authored andcommitted
Add @CopyWith() annotation to model class mustache
1 parent 7af84ca commit 4ea29b6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable

modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/class.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ part '{{classFilename}}.g.dart';
1717
{{#isDeprecated}}
1818
@Deprecated('{{{classname}}} has been deprecated')
1919
{{/isDeprecated}}
20+
@CopyWith()
2021
@JsonSerializable(
2122
checked: true,
2223
createToJson: true,

0 commit comments

Comments
 (0)