call method

Expression call(
  1. Iterable<Expression> positionalArguments, [
  2. Map<String, Expression> namedArguments = const {},
  3. List<Reference> typeArguments = const []
])
inherited

Call this expression as a method.

Implementation

Expression call(
  Iterable<Expression> positionalArguments, [
  Map<String, Expression> namedArguments = const {},
  List<Reference> typeArguments = const [],
]) =>
    InvokeExpression._(
      this,
      positionalArguments.toList(),
      namedArguments,
      typeArguments,
    );