Gedcom7Document class
GEDCOM 7 Document.
Constructors
-
Gedcom7Document(List<
Gedcom7Structure> substructuresList) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 setterinherited
-
substructuresList
→ List<
Gedcom7Structure> -
Protected list to allow using of the List in descendants.
finalinherited
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 typeR.inherited -
getAll<
R extends T> () → Iterable< R> -
Same as
getAllByTag, but accepts typeR.inherited -
getAllByTag(
String tag) → Iterable< Gedcom7Structure> -
Returns nested tags with the matching
tag.inherited -
getByTag(
String tag) → Gedcom7Structure -
Returns first nested tag with the matching
tag.inherited -
getByTagOrNull(
String tag) → Gedcom7Structure? -
Returns first nested tag with the matching
tagor null.inherited -
getOrNull<
R extends T> () → R? -
Same as
getByTagOrNull, but accepts typeR.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeSubstructure(
Gedcom7Structure structure) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited