DartLibrary constructor
DartLibrary({
- required String name,
- required ElementLocation location,
- DartElementRef<
DartElement> ? parentRef, - List<
DartClass> classes = const [], - List<
DartMethod> methods = const [], - List<
DartVariable> variables = const [], - List<
DartLibraryDependency> dependencies = const [],
Implementation
DartLibrary({
required String name,
required ElementLocation location,
DartElementRef? parentRef,
this.classes = const [],
this.methods = const [],
this.variables = const [],
this.dependencies = const [],
}) : super(name: name, location: location);