remove method

void remove(
  1. String 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.

Implementation

void remove(String key) {
  fields.remove(key);
}