Expression.callMethodOrFunction constructor

Expression.callMethodOrFunction(
  1. String name, {
  2. String? libraryUri,
  3. ParameterValues? parameterValues,
})

A call to a method in the same class or a function

Implementation

Expression.callMethodOrFunction(String name,
    {String? libraryUri, ParameterValues? parameterValues})
    : nodes = [
        FunctionCall(name,
            libraryUri: libraryUri, parameterValues: parameterValues)
      ];