isPrimitiveCell property
Whether this occurrence represents a primitive cell that should be hidden from the occurrence tree.
Checks the isPrimitive field (set by the adapter at construction time) and falls back to isPrimitiveType on the occurrence's definition.
Implementation
bool get isPrimitiveCell =>
isPrimitive || (definition != null && isPrimitiveType(definition!));