remove method

int remove(
  1. String name
)

Remove all properties with a given name.

Returns the number of properties that were removed.

Implementation

int remove(String name) {
  final victim = _data.remove(name);
  return victim?.length ?? 0;
}