set method

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

Stores a value associated with a specified key.

Example:

req.store.set('foo', Foo());

Implementation

void set(String key, dynamic value) => _data[key] = value;