typeParameters property
The type parameters of this parameter.
Implementation
@override
List<TypeParameterType> get typeParameters {
final DartType type = this.type;
if (type is FunctionType) {
return type.typeParameters;
}
return <TypeParameterType>[];
}