Skip to content

Commit eb9b43c

Browse files
committed
fix enum tests
1 parent 3d21f2e commit eb9b43c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/json_converters.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class EnumConverter implements IConverter {
259259
return toEnumValue(enumValue);
260260
}
261261

262-
String? toEnumValue(dynamic enumValue) {
262+
dynamic toEnumValue(dynamic enumValue) {
263263
if (enumValue == null) return null;
264264
try {
265265
return enumValue.value;

0 commit comments

Comments
 (0)