Skip to content

Commit

Permalink
ignore provide_deprecation_message diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Jan 6, 2025
1 parent ca1527f commit dd2ff12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/collection/lib/src/unmodifiable_wrappers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,12 @@ abstract mixin class UnmodifiableMapMixin<K, V> implements Map<K, V> {
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();
}

0 comments on commit dd2ff12

Please sign in to comment.