addTypeParameter method

void addTypeParameter(
  1. TypeParameterType typeParameter
)

Adds a type parameter to this element.

Implementation

void addTypeParameter(TypeParameterType typeParameter) {
  _typeParameters.add(typeParameter);
}