replace<T> method

void replace<T>(
  1. T instance
)

Implementation

void replace<T>(T instance) {
  _data[T.hashCode] = instance;
}