hasParts property
bool
get
hasParts
Returns true
when there are children
Implementation
bool get hasParts => parts?.isNotEmpty ?? false;
Returns true
when there are children
bool get hasParts => parts?.isNotEmpty ?? false;