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 83b85e3 commit c671104Copy full SHA for c671104
lib/src/model/model_node.dart
@@ -65,7 +65,7 @@ class ModelNode {
65
late final String sourceCode = () {
66
if (_isSynthetic) return '';
67
68
- var path = _element.library2?.firstFragment.source.fullName;
+ var path = _element.firstFragment.libraryFragment?.source.fullName;
69
if (path == null) return '';
70
71
var fileResult = _analysisContext.currentSession.getFile(path);
0 commit comments