visitInvocationElement method

  1. @override
List<Expression> visitInvocationElement(
  1. InvocationElement node
)
override

Implementation

@override
List<Expression> visitInvocationElement(InvocationElement node) {
  final parameter = node.argument.accept(this) as List<Expression>;
  final call = refer(node.identifier.name).call(parameter);
  return [call];
}