remove method
Removes a key-value pair from the model based on the provided key.
If the key does not exist, the method does nothing.
key The key of the key-value pair to be removed.
Implementation
void remove(String key) {
fields.remove(key);
}
Removes a key-value pair from the model based on the provided key.
If the key does not exist, the method does nothing.
key The key of the key-value pair to be removed.
void remove(String key) {
fields.remove(key);
}