add method

void add(
  1. String name,
  2. String value
)

Add a property.

Add a new property with the name and value is added. If there is already such a property with that name, another one is added after it (even if it has the same value).

Implementation

void add(String name, String value) {
  var values = _data[name];

  if (values == null) {
    values = <String>[];
    _data[name] = values; // create member
  }

  values.add(value);
}