spouseFamily property
String?
spouseFamily
Returns pointer value of the family where individual is wife or husband. Returns null if not available.
Implementation
String? get spouseFamily => isSpouse
? children
.firstWhere((element) => element.tag == GEDCOM_TAG_FAMILY_SPOUSE)
.value
: null;