isPrivate property

bool get isPrivate

Checks if this individual is marked private

Implementation

bool get isPrivate => children.any(
      (element) => element.tag == GEDCOM_TAG_PRIVATE && element.value == 'Y',
    );