ClassDoc constructor

ClassDoc({
  1. required String name,
  2. String? description,
  3. String? category,
  4. String? subCategory,
  5. required String filePath,
  6. required int lineNumber,
  7. bool isAbstract = false,
  8. String? superclass,
  9. List<String> mixins = const [],
  10. List<String> interfaces = const [],
  11. List<String> typeParameters = const [],
  12. List<ConstructorDoc> constructors = const [],
  13. List<FieldDoc> fields = const [],
  14. List<MethodDoc> methods = const [],
  15. List<CodeBlock> codeExamples = const [],
  16. List<DocLink> links = const [],
  17. Map<String, String> macros = const {},
  18. Map<String, String> templates = const {},
})

Implementation

ClassDoc({
  required this.name,
  this.description,
  this.category,
  this.subCategory,
  required this.filePath,
  required this.lineNumber,
  this.isAbstract = false,
  this.superclass,
  this.mixins = const [],
  this.interfaces = const [],
  this.typeParameters = const [],
  this.constructors = const [],
  this.fields = const [],
  this.methods = const [],
  this.codeExamples = const [],
  this.links = const [],
  this.macros = const {},
  this.templates = const {},
});