setInstance<V extends T> method

void setInstance<V extends T>(
  1. V value
)

Sets the instance of the generic type V to value.

Implementation

void setInstance<V extends T>(V value) => _map[V] = value;