Skip to content

Commit

Permalink
fix: fix json_enum_example.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfccp committed Nov 26, 2024
1 parent 5ec7cee commit 9913d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_serializable/test/integration/json_enum_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ enum EnumWithAliases {
@JsonValue('1')
one,

@JsonValue('2', aliases: ['two', 'deux'])
@JsonValue('2', aliases: {'two', 'deux'})
two,

@JsonValue('3')
Expand Down

0 comments on commit 9913d03

Please sign in to comment.