MethodDoc constructor
MethodDoc({
- required String name,
- required String returnType,
- String? description,
- bool isStatic = false,
- bool isAbstract = false,
- bool isAsync = false,
- bool isGetter = false,
- bool isSetter = false,
- List<
ParameterDoc> parameters = const [], - List<
CodeBlock> codeExamples = const [], - 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 [],
});