From f2a16211c4727615fe4112e39bf770b540dee199 Mon Sep 17 00:00:00 2001 From: Erik Ernst Date: Fri, 12 Aug 2022 11:52:03 +0200 Subject: [PATCH] Format --- lib/src/rules/avoid_unstable_final_fields.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/rules/avoid_unstable_final_fields.dart b/lib/src/rules/avoid_unstable_final_fields.dart index 6248b78a5..4bf85e3ce 100644 --- a/lib/src/rules/avoid_unstable_final_fields.dart +++ b/lib/src/rules/avoid_unstable_final_fields.dart @@ -106,8 +106,7 @@ bool _isLocallyStable(Element element) { var metadataElement = elementAnnotation.element; if (metadataElement is ConstructorElement) { var metadataOwner = metadataElement.declaration.enclosingElement3; - if (metadataOwner is ClassElement && - metadataOwner.isDartCoreObject) { + if (metadataOwner is ClassElement && metadataOwner.isDartCoreObject) { // A declaration with `@Object()` is not considered stable. return false; }