operator []= method

void operator []=(
  1. String key,
  2. String value
)

Associates the key with the given value. This method adds a new property if the input one does not exists or updates the existing one.

Events are triggered as for the add method.

Implementation

void operator []=(String key, String value) {
  add(key, value);
}