removeByKeys method

void removeByKeys(
  1. List<String> keys, {
  2. bool isAllowValueNull = true,
})

Implementation

void removeByKeys(List<String> keys, {bool isAllowValueNull = true}) {
  for (var i = 0; i < keys.length; i++) {
    var key = keys[i];
    if (keys.contains(key)) {
      remove(key);
    }
  }
}