DocComponent constructor

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

Implementation

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