visitVariableDeclarationList method

  1. @override
bool visitVariableDeclarationList (
  1. VariableDeclarationList node
)
override

Implementation

@override
bool visitVariableDeclarationList(VariableDeclarationList node) {
  if (identical(node.type, _oldNode)) {
    node.type = _newNode as TypeAnnotation;
    return true;
  } else if (_replaceInList(node.variables)) {
    return true;
  }
  return visitAnnotatedNode(node);
}