From a5b75bf7e9e3eaf23f14a359ac403aa9fd26287a Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sun, 22 May 2022 14:30:00 -0700 Subject: [PATCH] Ignore deprecated API usage --- json_serializable/lib/src/decode_helper.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/json_serializable/lib/src/decode_helper.dart b/json_serializable/lib/src/decode_helper.dart index adf774764..341446b92 100644 --- a/json_serializable/lib/src/decode_helper.dart +++ b/json_serializable/lib/src/decode_helper.dart @@ -278,6 +278,7 @@ _ConstructorData _writeConstructorInvocation( for (final arg in ctor.parameters) { if (!availableConstructorParameters.contains(arg.name)) { + // ignore: deprecated_member_use if (arg.isNotOptional) { var msg = 'Cannot populate the required constructor ' 'argument: ${arg.name}.';