passTrait<T> method

void passTrait<T>(
  1. T t
)

Implementation

void passTrait<T>(T t) {
  _heredityTraits[T] = t;
}