omit method

Map<K, V> omit(
  1. List<K> keys
)

Returns a new map with the specified keys removed.

{'a': 1, 'b': 2, 'c': 3}.omit(['b']) // {'a': 1, 'c': 3}

Implementation

Map<K, V> omit(List<K> keys) => rejectKeys(keys);