From f715afaa87581a18041071a4a2253c5807c5e0d9 Mon Sep 17 00:00:00 2001 From: "alexiuk.genius" Date: Thu, 18 Apr 2024 17:05:54 +0200 Subject: [PATCH] Refactor avoid_final_with_getter_visitor.dart to remove isStatic property from declaredElement --- .../visitors/avoid_final_with_getter_visitor.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/src/lints/avoid_final_with_getter/visitors/avoid_final_with_getter_visitor.dart b/lib/src/lints/avoid_final_with_getter/visitors/avoid_final_with_getter_visitor.dart index 719cb17..3672c7c 100644 --- a/lib/src/lints/avoid_final_with_getter/visitors/avoid_final_with_getter_visitor.dart +++ b/lib/src/lints/avoid_final_with_getter/visitors/avoid_final_with_getter_visitor.dart @@ -18,7 +18,6 @@ class AvoidFinalWithGetterVisitor extends RecursiveAstVisitor { isGetter: true, declaredElement: ExecutableElement( isAbstract: false, - isStatic: false, isPublic: true, ) )) {