Skip to content

Commit 3adb1b9

Browse files
committed
🐛 fix decoder type and include throwOnLimitExceeded in equality check
1 parent eafe80a commit 3adb1b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/models/decode_options.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ final class DecodeOptions with EquatableMixin {
237237
bool? parseLists,
238238
bool? strictNullHandling,
239239
bool? strictDepth,
240-
dynamic Function(String?)? decoder,
240+
Function? decoder,
241241
}) =>
242242
DecodeOptions(
243243
allowDots: allowDots ?? this.allowDots,
@@ -298,6 +298,7 @@ final class DecodeOptions with EquatableMixin {
298298
parseLists,
299299
strictDepth,
300300
strictNullHandling,
301+
throwOnLimitExceeded,
301302
_decoder,
302303
];
303304
}

0 commit comments

Comments
 (0)