writeTypeParameters abstract method
void
writeTypeParameters(
- List<
TypeParameterElement> typeParameters, { - ExecutableElement? methodBeingCopied,
Write the code to declare the given list of typeParameters
. The
enclosing angle brackets are 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 writeTypeParameters(List<TypeParameterElement> typeParameters,
{ExecutableElement? methodBeingCopied});