removeKeys method

void removeKeys(
  1. List<M> keys
)

移除map中对应key的数据 keys map keys

Implementation

void removeKeys(List<M> keys) {
  if (this.isEmptyMap() || keys.isEmptyList) {
    return;
  }
  keys.forEach((key) {
    //remove key or value
    this?.remove(key);
  });
}