DartFunction class

Inheritance
Implementers
Available extensions

Constructors

DartFunction({String functionName = '', List<Variable> params = const [], int depth = 0, bool isStatic = false, bool isAbstract = false, bool isConstructor = false, bool isAsync = false, FunctionBodyBuilder? body, AstType returnType = const AstVoid()})

Properties

body FunctionBodyBuilder?
getter/setter pair
depth int
finalinherited
functionName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAbstract bool
getter/setter pair
isAsync bool
getter/setter pair
isConstructor bool
getter/setter pair
isStatic bool
getter/setter pair
params List<Variable>
getter/setter pair
returnType AstType
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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