typeArguments property

  1. @override
TypeArgumentListImpl? typeArguments
override

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;
void typeArguments=(TypeArgumentListImpl? typeArguments)

Sets the type arguments to the constructor being invoked to the given typeArguments.

Implementation

set typeArguments(TypeArgumentListImpl? typeArguments) {
  _typeArguments = _becomeParentOf(typeArguments);
}