children property

Iterable<Node<Object?>> get children

All direct children of the node.

Implementation

Iterable<Node> get children sync* {
  final v = value;
  if (v is Map) yield* v.keys.map((key) => _child(v, key));
  if (v is List) yield* v.asMap().keys.map((index) => _element(v, index));
}