Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkgs/collection/lib/src/unmodifiable_wrappers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,12 @@ abstract mixin class UnmodifiableMapMixin<K, V> implements Map<K, V> {
/// operations that change the map are disallowed.
@override
void clear() => _throw();

/// Throws an [UnsupportedError].
@Deprecated('This will be removed at a later date.')
set first(dynamic _) => _throw();

/// Throws an [UnsupportedError].
@Deprecated('This will be removed at a later date.')
set last(dynamic _) => _throw();
}
Loading