CollectionLiteralNode class
A collection literal (List, Set, or Map).
- Inheritance
-
- Object
- DartNode
- ExpressionNode
- CollectionLiteralNode
Constructors
-
CollectionLiteralNode({List<
TypeNode> typeArguments = const [], List<CollectionElementNode> elements = const [], bool isConst = false}) -
const
Properties
-
elements
→ List<
CollectionElementNode> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConst → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeArguments
→ List<
TypeNode> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited