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 5d098ef commit 6ac6358Copy full SHA for 6ac6358
lib/src/model/inheriting_container.dart
@@ -20,9 +20,10 @@ import 'package:meta/meta.dart';
20
/// [hasModifier] override is not necessary for this mixin.
21
mixin Constructable on InheritingContainer {
22
List<Constructor> _constructors;
23
- Iterable<Constructor> get constructors => _constructors ??= [...element
24
- .constructors
25
- .map((e) => ModelElement.from(e, library, packageGraph) as Constructor)];
+ Iterable<Constructor> get constructors => _constructors ??= [
+ ...element.constructors.map(
+ (e) => ModelElement.from(e, library, packageGraph) as Constructor)
26
+ ];
27
28
@override
29
bool get hasPublicConstructors => publicConstructorsSorted.isNotEmpty;
0 commit comments