set method

dynamic set(
  1. dynamic key,
  2. dynamic value
)

Implementation

set(key, value) {
  this[key] = value;
}