DocComponent constructor

const DocComponent({
  1. required String name,
  2. required String description,
  3. required List<DocConstructor> constructors,
  4. required List<DocProperty> properties,
  5. required List<DocMethod> methods,
  6. String? filePath,
  7. String? entryPoint,
  8. DocComponentType type = DocComponentType.classType,
  9. String? aliasedType,
  10. List<String> annotations = const [],
  11. List<String> superClasses = const [],
  12. List<String> superClassPackages = const [],
  13. List<String> interfaces = const [],
  14. List<String> mixins = const [],
  15. List<String> typeParameters = const [],
})

Implementation

const DocComponent({
  required this.name,
  required this.description,
  required this.constructors,
  required this.properties,
  required this.methods,
  this.filePath,
  this.entryPoint,
  this.type = DocComponentType.classType,
  this.aliasedType,
  this.annotations = const [],
  this.superClasses = const [],
  this.superClassPackages = const [],
  this.interfaces = const [],
  this.mixins = const [],
  this.typeParameters = const [],
});