MethodDoc constructor

MethodDoc({
  1. required String name,
  2. required String returnType,
  3. String? description,
  4. bool isStatic = false,
  5. bool isAbstract = false,
  6. bool isAsync = false,
  7. bool isGetter = false,
  8. bool isSetter = false,
  9. List<ParameterDoc> parameters = const [],
  10. List<CodeBlock> codeExamples = const [],
  11. List<DocLink> links = const [],
})

Implementation

MethodDoc({
  required this.name,
  required this.returnType,
  this.description,
  this.isStatic = false,
  this.isAbstract = false,
  this.isAsync = false,
  this.isGetter = false,
  this.isSetter = false,
  this.parameters = const [],
  this.codeExamples = const [],
  this.links = const [],
});