remove method Null safety
- 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;
}
Remove all properties with a given name.
Returns the number of properties that were removed.
int remove(String name) {
final victim = _data.remove(name);
return victim?.length ?? 0;
}