Skip to content

Commit f17b919

Browse files
committed
fix: fix json_enum_example.dart
1 parent 89775ce commit f17b919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_serializable/test/integration/json_enum_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ enum EnumWithAliases {
126126
@JsonValue('1')
127127
one,
128128

129-
@JsonValue('2', aliases: ['two', 'deux'])
129+
@JsonValue('2', aliases: {'two', 'deux'})
130130
two,
131131

132132
@JsonValue('3')

0 commit comments

Comments
 (0)