visitConstructorDeclaration method

  1. @override
void visitConstructorDeclaration(
  1. ConstructorDeclaration node
)
override

Implementation

@override
void visitConstructorDeclaration(ConstructorDeclaration node) {
  if (node.constKeyword != null && node.factoryKeyword != null) {
    if (result == null || node.offset > result!.offset) {
      result = node;
    }
  }
  super.visitConstructorDeclaration(node);
}