MethodInvocationImpl constructor
MethodInvocationImpl({
- required ExpressionImpl? target,
- required Token? operator,
- required SimpleIdentifierImpl methodName,
- required TypeArgumentListImpl? typeArguments,
- required ArgumentListImpl argumentList,
Initialize a newly created method invocation. The target
and operator
can be null
if there is no target.
Implementation
MethodInvocationImpl({
required ExpressionImpl? target,
required this.operator,
required SimpleIdentifierImpl methodName,
required super.typeArguments,
required super.argumentList,
}) : _target = target,
_methodName = methodName {
_becomeParentOf(_target);
_becomeParentOf(_methodName);
}