operator [] method

dynamic operator [](
  1. Object? key
)

Get value to key of the map stored in arg.

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

Implementation

dynamic operator [](Object? key) => arg[key];