nodes property

Map<dynamic, YamlNode> nodes
final

A view of this where the keys and values are guaranteed to be YamlNodes.

The key type is dynamic to allow values to be accessed using non-YamlNode keys, but Map.keys and Map.forEach will always expose them as YamlNodes. For example, for {"foo": [1, 2, 3]} nodes will be a map from a YamlScalar to a YamlList, but since the key type is dynamic map.nodes["foo"] will still work.

Implementation

final Map<dynamic, YamlNode> nodes;