operator []= method

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

Save value to key of the map stored in context.

The data will be unique within the page and can continue to be used even if the widget is rebuilt.

Implementation

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