We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b80712 commit f272bb2Copy full SHA for f272bb2
lib/src/model/accessor.dart
@@ -120,7 +120,7 @@ class Accessor extends ModelElement {
120
ModelElement get enclosingElement => switch (element2.enclosingElement2) {
121
LibraryFragment enclosingCompilationUnit =>
122
getModelForElement(enclosingCompilationUnit.element),
123
- _ => getModelFor(element2.enclosingElement2!, library)
+ _ => getModelFor(element2.enclosingElement2, library)
124
};
125
126
@override
0 commit comments