length property

int get length

Returns the total number of children nodes.

Implementation

int get length => allowContent && _content != null ? _content!.length : 0;