hasParent property
bool
get
hasParent
Returns true if parent
is not null, otherwise false.
Implementation
bool get hasParent => parent != null;
Returns true if parent
is not null, otherwise false.
bool get hasParent => parent != null;