MethodDoc class

Represents a method

Constructors

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 []})

Properties

codeExamples List<CodeBlock>
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
isAbstract bool
final
isAsync bool
final
isGetter bool
final
isSetter bool
final
isStatic bool
final
final
name String
final
parameters List<ParameterDoc>
final
returnType String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited