@@ -19,7 +19,7 @@ import 'package:meta/meta.dart';
19
19
/// Note that [Constructor] s are not considered to be modifiers so a
20
20
/// [hasModifiers] override is not necessary for this mixin.
21
21
mixin Constructable implements InheritingContainer {
22
- late final List <Constructor > constructors = element.augmented . constructors
22
+ late final List <Constructor > constructors = element.constructors
23
23
.map ((e) => getModelFor (e, library) as Constructor )
24
24
.toList (growable: false );
25
25
@@ -146,12 +146,12 @@ abstract class InheritingContainer extends Container {
146
146
147
147
// The mapping of all of the inherited element names to their _concrete_
148
148
// implementation element.
149
- var concreteInheritanceMap = packageGraph.inheritanceManager
150
- . getInheritedConcreteMap2 (element. augmented .declaration );
149
+ var concreteInheritanceMap =
150
+ packageGraph.inheritanceManager. getInheritedConcreteMap2 (element);
151
151
// The mapping of all inherited element names to the nearest inherited
152
152
// element that they resolve to.
153
- var inheritanceMap = packageGraph.inheritanceManager
154
- . getInheritedMap2 (element. augmented .declaration );
153
+ var inheritanceMap =
154
+ packageGraph.inheritanceManager. getInheritedMap2 (element);
155
155
156
156
var inheritanceChainElements =
157
157
inheritanceChain.map ((c) => c.element).toList (growable: false );
@@ -249,7 +249,7 @@ abstract class InheritingContainer extends Container {
249
249
}();
250
250
251
251
@override
252
- late final List <Method > declaredMethods = element.augmented . methods
252
+ late final List <Method > declaredMethods = element.methods
253
253
.map ((e) => getModelFor (e, library) as Method )
254
254
.toList (growable: false );
255
255
0 commit comments