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 addf2d8 commit 12e596cCopy full SHA for 12e596c
lib/src/model/accessor.dart
@@ -120,7 +120,7 @@ class Accessor extends ModelElement {
120
ModelElement get enclosingElement => switch (element2.enclosingElement2) {
121
LibraryFragment enclosingCompilationUnit =>
122
getModelForElement2(enclosingCompilationUnit.element),
123
- _ => getModelFor2(element2.enclosingElement2!, library)
+ _ => getModelFor2(element2.enclosingElement2, library)
124
};
125
126
@override
0 commit comments