getTypeArguments method
Returns the list of type arguments for generic types.
If the type is not generic, this returns an empty list.
For example, List<String>
will return a list with one LinkDeclaration for String
.
Implementation
List<LinkDeclaration> getTypeArguments() => [];