InvokeExpression.constOf constructor

const InvokeExpression.constOf(
  1. Expression target,
  2. List<Expression> positionalArguments, [
  3. Map<String, Expression> namedArguments = const {},
  4. List<Reference> typeArguments = const [],
  5. String? name,
])

Implementation

const InvokeExpression.constOf(
  this.target,
  this.positionalArguments, [
  this.namedArguments = const {},
  this.typeArguments = const [],
  this.name,
])  : type = InvokeExpressionType.constInstance,
      isConst = true;