MethodBuilder class abstract

Constructors

MethodBuilder()
factory

Properties

annotations ↔ ListBuilder<Expression>
Annotations as metadata on the node.
getter/setter pair
body Code?
Body of the method.
getter/setter pair
docs ↔ ListBuilder<String>
Dart docs.
getter/setter pair
external bool
Whether the method should be prefixed with external.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lambda bool?
Whether this method is a simple lambda expression.
getter/setter pair
modifier MethodModifier?
Whether this method is async, async*, or sync*.
getter/setter pair
name String?
Name of the method or function.
getter/setter pair
optionalParameters ↔ ListBuilder<Parameter>
Optional parameters.
getter/setter pair
requiredParameters ↔ ListBuilder<Parameter>
Required parameters.
getter/setter pair
returns Reference?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
static bool
Whether this method should be prefixed with static.
getter/setter pair
type MethodType?
Whether this is a getter or setter.
getter/setter pair
types ↔ ListBuilder<Reference>
Generic type parameters.
getter/setter pair

Methods

build() Method
Builds.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace(Method value) → void
Replaces the value in the builder with a new one.
inherited
toString() String
A string representation of this object.
inherited
update(void updates(MethodBuilder)?) → void
Applies updates.
override

Operators

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