StateVariableDeclaration class
Constructors
- StateVariableDeclaration(SourceLocation location, TypeName typeName, String name, Visibility visibility, VariableMutability mutability, Expression? initialValue)
Properties
- annotation ↔ Object?
-
Annotation slot used by later compiler phases (sema, codegen).
getter/setter pairinherited
- documentation ↔ String?
-
Raw NatSpec documentation attached to this node, with the comment markers
(
///,/**,*/, leading*) stripped but tags such as@noticekept. Populated by the parser for the declaration a doc-comment precedes;nullwhen undocumented.getter/setter pairinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- initialValue → Expression?
-
final
- location ↔ SourceLocation
-
getter/setter pairinherited
- mutability → VariableMutability
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeName → TypeName
-
final
- visibility → Visibility
-
final
Methods
-
accept(
AstVisitor visitor) → void -
override
-
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