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(); }