Skip to content

Commit 2d0fe3a

Browse files
authored
fix for latest analysis (#985)
1 parent bfe2ca4 commit 2d0fe3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_serializable/lib/src/type_helpers/json_converter_helper.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ _ConverterMatch? _compatibleMatch(
179179

180180
final jsonConverterSuper =
181181
converterClassElement.allSupertypes.singleWhereOrNull(
182-
(e) => e is InterfaceType && _jsonConverterChecker.isExactly(e.element),
182+
(e) => _jsonConverterChecker.isExactly(e.element),
183183
);
184184

185185
if (jsonConverterSuper == null) {

0 commit comments

Comments
 (0)