From dd2ff12741ae9555a386301181e03ed24894d0e7 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 6 Jan 2025 09:49:09 -0800 Subject: [PATCH] ignore provide_deprecation_message diagnostics --- pkgs/collection/lib/src/unmodifiable_wrappers.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/collection/lib/src/unmodifiable_wrappers.dart b/pkgs/collection/lib/src/unmodifiable_wrappers.dart index f2008ce4..a73a55b3 100644 --- a/pkgs/collection/lib/src/unmodifiable_wrappers.dart +++ b/pkgs/collection/lib/src/unmodifiable_wrappers.dart @@ -195,10 +195,12 @@ abstract mixin class UnmodifiableMapMixin implements Map { void clear() => _throw(); /// Throws an [UnsupportedError]. + // ignore: provide_deprecation_message @deprecated set first(Object? _) => _throw(); /// Throws an [UnsupportedError]. + // ignore: provide_deprecation_message @deprecated set last(Object? _) => _throw(); }