File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -663,8 +663,7 @@ abstract class Documentable {
663
663
664
664
// TODO: how do we get rid of this class?
665
665
class Dynamic extends ModelElement {
666
- Dynamic (Element element, Library library)
667
- : super (element, library);
666
+ Dynamic (Element element, Library library) : super (element, library);
668
667
669
668
ModelElement get enclosingElement => throw new UnsupportedError ('' );
670
669
@@ -1941,9 +1940,7 @@ class TopLevelVariable extends ModelElement
1941
1940
}
1942
1941
1943
1942
String get constantValue {
1944
- var v = _variable
1945
- .computeNode ()
1946
- .toSource ();
1943
+ var v = _variable.computeNode ().toSource ();
1947
1944
if (v == null ) return '' ;
1948
1945
var string = v.substring (v.indexOf ('=' ) + 1 , v.length).trim ();
1949
1946
return string.replaceAll (modelType.name, modelType.linkedName);
You can’t perform that action at this time.
0 commit comments