hasNotParent property

bool get hasNotParent

Returns true if parent is null, otherwise false.

Implementation

bool get hasNotParent => !hasParent;