RedirectingConstructorInvocationImpl constructor
RedirectingConstructorInvocationImpl({
- required Token thisKeyword,
- required Token? period,
- required SimpleIdentifierImpl? constructorName,
- required ArgumentListImpl argumentList,
Initialize a newly created redirecting invocation to invoke the
constructor with the given name with the given arguments. The
constructorName
can be null
if the constructor being invoked is the
unnamed constructor.
Implementation
RedirectingConstructorInvocationImpl({
required this.thisKeyword,
required this.period,
required SimpleIdentifierImpl? constructorName,
required ArgumentListImpl argumentList,
}) : _constructorName = constructorName,
_argumentList = argumentList {
_becomeParentOf(_constructorName);
_becomeParentOf(_argumentList);
}