Gedcom7Structure class sealed

GEDCOM 7 Structure.

Implementers
Available extensions

Constructors

Gedcom7Structure.from(GedcomStructure structure)
Parses GEDCOM 7 Structure from any GedcomStructure.
factory
Gedcom7Structure.parse({required int level, required String tag, required String? xref, required String? lineVal, required Iterable<GedcomStructure>? substructures})
Parses GEDCOM 7 Structure.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
level → int
Level.
no setter
lineVal → String?
Line Value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
substructures → List<Gedcom7Structure>
Nested substructures.
no setter
substructuresLevel → int
Represents level for all nested substructures.
no setter
tag → String
Tag.
no setter
valueInteger → int?

Available on GedcomStructure, provided by the GedcomStructureValueExtension extension

Parsed Integer value.
no setter
valueList → List<String>

Available on GedcomStructure, provided by the GedcomStructureValueExtension extension

Parsed List value.
no setter
valueText → String?

Available on GedcomStructure, provided by the GedcomStructureValueExtension extension

Parsed String value.
no setter
valueXref → String?

Available on GedcomStructure, provided by the GedcomStructureValueExtension extension

Parsed XREF value.
no setter
xref → String?
Cross-reference identifier.
no setter

Methods

addSubstructure({required String tag, String? xref, String? lineVal}) → Gedcom7Structure
Creates a structure, adds it to substructures and returns created substructure.
get<R extends T>() → R
Same as getByTag, but accepts type R.
inherited
getAll<R extends T>() → Iterable<R>
Same as getAllByTag, but accepts type R.
inherited
getAllByTag(String tag) → Iterable<GedcomStructure>
Returns nested tags with the matching tag.
inherited
getByTag(String tag) → GedcomStructure
Returns first nested tag with the matching tag.
inherited
getByTagOrNull(String tag) → GedcomStructure?
Returns first nested tag with the matching tag or null.
inherited
getOrNull<R extends T>() → R?
Same as getByTagOrNull, but accepts type R.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeSubstructure(GedcomStructure structure) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited