put method Null safety

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

Puts a new value into map element specified by its key.

The key can be defined using dot notation and allows to recursively access elements of elements.

  • key a key of the element to put.
  • value a new value for map element.