methodInvocation abstract method

MethodInvocation methodInvocation(
  1. Expression? target,
  2. Token? operator,
  3. SimpleIdentifier methodName,
  4. TypeArgumentList? typeArguments,
  5. ArgumentList argumentList,
)

Returns a newly created method invocation. The target and operator can be null if there is no target.

Implementation

MethodInvocation methodInvocation(
    Expression? target,
    Token? operator,
    SimpleIdentifier methodName,
    TypeArgumentList? typeArguments,
    ArgumentList argumentList);