put method

void put(
  1. T extra
)

Stores extra, replacing any extra of the same runtime type.

Implementation

void put(T extra) => _map[extra.runtimeType] = extra;