Skip to content

Commit 51224ed

Browse files
authored
Ignore deprecated API usage (#1150)
1 parent d5d73b8 commit 51224ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

json_serializable/lib/src/decode_helper.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ _ConstructorData _writeConstructorInvocation(
278278

279279
for (final arg in ctor.parameters) {
280280
if (!availableConstructorParameters.contains(arg.name)) {
281+
// ignore: deprecated_member_use
281282
if (arg.isNotOptional) {
282283
var msg = 'Cannot populate the required constructor '
283284
'argument: ${arg.name}.';

0 commit comments

Comments
 (0)