Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9dec114

Browse files
committedOct 19, 2022
fix errors after merging in main
1 parent 166f340 commit 9dec114

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎json_serializable/lib/src/type_helpers/json_helper.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ class MapKeyHelper extends TypeHelper<TypeHelperContextWithConfig> {
380380

381381
final toFromString = mapKeyHelperForType(keyArg);
382382
if (toFromString != null) {
383-
keyUsage = toFromString.deserialize(keyArg, keyUsage, false, true)!;
383+
keyUsage =
384+
toFromString.deserialize(keyArg, keyUsage, false, true)!.toString();
384385
}
385386

386387
return keyUsage;

0 commit comments

Comments
 (0)
Please sign in to comment.