DeclareFunctionStmt class
Constructors
-
DeclareFunctionStmt(String name, List<
FnParam> params, List<Statement> statements, {List<Expression> annotations = const [], OutputType? type, List<TypeParameter> typeParameters = const [], bool isGetter = false})
Properties
-
annotations
→ List<
Expression> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGetter → bool
-
final
-
modifiers
↔ List<
StmtModifier> -
getter/setter pairinherited
- name → String
-
final
-
params
→ List<
FnParam> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceReference ↔ SourceReference?
-
getter/setter pairinherited
-
statements
→ List<
Statement> -
final
- type → OutputType?
-
final
-
typeParameters
→ List<
TypeParameter> -
final
Methods
-
hasModifier(
StmtModifier modifier) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitStatement<
R, C> (StatementVisitor< R, C> visitor, C context) → R -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited