visitSimpleFormalParameter method

  1. @override
bool visitSimpleFormalParameter (
  1. SimpleFormalParameter node
)
override

Implementation

@override
bool visitSimpleFormalParameter(SimpleFormalParameter node) {
  if (identical(node.type, _oldNode)) {
    node.type = _newNode as TypeAnnotation;
    return true;
  }
  return visitNormalFormalParameter(node);
}