typeArguments property
Returns the type arguments to the constructor being invoked, or null
if
(a) this annotation is not the invocation of a constructor or (b) this
annotation does not specify type arguments explicitly.
Note that type arguments are only valid if Feature.generic_metadata
is
enabled.
Implementation
@override
TypeArgumentListImpl? get typeArguments => _typeArguments;
Sets the type arguments to the constructor being invoked to the given typeArguments.
Implementation
set typeArguments(TypeArgumentListImpl? typeArguments) {
_typeArguments = _becomeParentOf(typeArguments);
}