TomlArrayNode class final

A node holding a TOML array.

Inheritance

Constructors

TomlArrayNode({required String key, required String path, required int depth, required bool isArrayElement, required List list})
Creates an array node wrapping list.

Properties

children → List<TomlNode>
The child nodes, computed lazily. Empty for leaves.
no setteroverride
depth → int
Nesting depth, starting at 0 for top-level entries.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isArrayElement → bool
Whether this node is an element of an array (rather than a table entry).
finalinherited
isExpandable → bool
Whether this node has children that can be revealed.
no setteroverride
isRoot → bool
Whether this node is a top-level entry of the document.
no setterinherited
key → String
The display label for this node.
finalinherited
list → List
The raw array contents.
final
path → String
The unique dotted/bracketed path of this node, e.g. server.ports[1].
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeName → String
A human-readable type name, e.g. int, String, Table, Array.
no setterinherited
value → Object?
The raw Dart value this node wraps.
no setteroverride

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