DeclareVarStmt class

Inheritance
Implementers

Constructors

DeclareVarStmt(String name, Expression? value, [OutputType? type, List<StmtModifier> modifiers = const []])

Properties

hashCode int
The hash code for this object.
no setterinherited
modifiers List<StmtModifier>
getter/setter pairinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceReference SourceReference?
getter/setter pairinherited
type OutputType?
final
value Expression?
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
withValue(Expression? replacement) DeclareVarStmt

Operators

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