ArgumentInvocation constructor

ArgumentInvocation(
  1. Iterable<Expression> positional,
  2. Map<String, Expression> named,
  3. FileSpan span, {
  4. Expression? rest,
  5. Expression? keywordRest,
})

Implementation

ArgumentInvocation(
    Iterable<Expression> positional, Map<String, Expression> named, this.span,
    {this.rest, this.keywordRest})
    : positional = List.unmodifiable(positional),
      named = Map.unmodifiable(named) {
  assert(rest != null || keywordRest == null);
}