expect method

Map<K, V?> expect(
  1. List<K> keys
)
  • return the map without some keys

Implementation

Map<K, V?> expect(List<K> keys) {
  final holder = Map<K, V?>.of(this);
  keys.forEach(holder.remove);
  return holder;
}