From 988a4e68abbb62adca3894350290f48ad18e0735 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Sat, 15 Jun 2024 00:40:36 +0200 Subject: [PATCH] chore(dynamite): Fix deprecation warning Signed-off-by: provokateurin --- packages/dynamite/dynamite/lib/src/builder/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dynamite/dynamite/lib/src/builder/client.dart b/packages/dynamite/dynamite/lib/src/builder/client.dart index 412ddbf9069..9660ef7aa11 100644 --- a/packages/dynamite/dynamite/lib/src/builder/client.dart +++ b/packages/dynamite/dynamite/lib/src/builder/client.dart @@ -365,7 +365,7 @@ ${allocate(returnType)}( final acceptHeader = responses.keys .map((response) => response.content?.keys) - .whereNotNull() + .nonNulls .expand((element) => element) .toSet() .join(',');