visitSwitchCase method

  1. @override
bool visitSwitchCase (SwitchCase node)
override

Implementation

@override
bool visitSwitchCase(SwitchCase node) {
  if (identical(node.expression, _oldNode)) {
    node.expression = _newNode as Expression;
    return true;
  }
  return visitSwitchMember(node);
}