MethodDeclaration class

Inheritance

Constructors

MethodDeclaration(String? name, List<SimpleFormalParameter?>? parameterList, BlockStatement? body, List<Annotation?>? annotationList, TypeName? returnType, String? source, {bool? isAsync = false, Map? ast})

Properties

annotationList List<Annotation?>?
getter/setter pair
body BlockStatement?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAsync bool?
getter/setter pair
name String?
getter/setter pair
parameterList List<SimpleFormalParameter?>?
getter/setter pair
returnType TypeName?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
getter/setter pair
type String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAst() Map?
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromAst(Map? ast) MethodDeclaration?