allTypeParameters property
List<TypeParameterType>
get
allTypeParameters
Returns all type parameters of this element and its enclosing elements.
Implementation
List<TypeParameterType> get allTypeParameters {
final List<TypeParameterType> allTypeParameters = <TypeParameterType>[];
allTypeParameters.addAll(typeParameters);
if (enclosingElement is TypeParameterizedElementMixin) {
allTypeParameters.addAll((enclosingElement as TypeParameterizedElementMixin).allTypeParameters);
}
return allTypeParameters;
}