put method

void put(
  1. String key,
  2. dynamic value
)

Sets a property with the given key and value.

key - The property key. value - The property value (can be any type).

Implementation

void put(String key, dynamic value) {
  __map[key] = value;
}