length property

int get length

Returns the total number of children nodes.

Implementation

int get length {
  if (!allowContent) return 0;
  return _content?.length ?? 0;
}