PropertyAccess class

The access of a property of an object.

Note, however, that accesses to properties of objects can also be represented as PrefixedIdentifier nodes in cases where the target is also a simple identifier.

propertyAccess ::= AstNode '.' SimpleIdentifier

Implemented types

Constructors

PropertyAccess(String? name, AstRuntimeNode? expression, bool isNullAware)

Properties

expression AstRuntimeNode?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isNullAware bool
getter/setter pair
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

fromAst(Map? ast) PropertyAccess?