visitFieldFormalParameter method

  1. @override
bool visitFieldFormalParameter (
  1. FieldFormalParameter node
)
override

Implementation

@override
bool visitFieldFormalParameter(FieldFormalParameter node) {
  if (identical(node.type, _oldNode)) {
    node.type = _newNode as TypeAnnotation;
    return true;
  } else if (identical(node.parameters, _oldNode)) {
    node.parameters = _newNode as FormalParameterList;
    return true;
  }
  return visitNormalFormalParameter(node);
}