writeTypeParameter abstract method
void
writeTypeParameter(
- TypeParameterElement typeParameter, {
- ExecutableElement? methodBeingCopied,
Write the code to declare the given typeParameter
. The enclosing angle
brackets are not automatically written.
If a methodBeingCopied
is provided, then type parameters defined by that
method are assumed to be part of what is being written and hence valid
types.
Implementation
void writeTypeParameter(TypeParameterElement typeParameter,
{ExecutableElement? methodBeingCopied});