children property

Returns a list of this node's children.

Implementation

Iterable<NodeViewModelState> get children {
  if (isClass) {
    return (value as Map<String, NodeViewModelState>).values;
  } else if (isArray) {
    return value as List<NodeViewModelState>;
  }
  return [];
}