visitCapture method

  1. @override
void visitCapture(
  1. CaptureExpression node
)
override

Implementation

@override
void visitCapture(CaptureExpression node) {
  final child = node.expression;
  child.accept(this);
  _setIsOptional(node, child.isOptional);
}