getByTagOrNull method

  1. @override
GedcomStructure? getByTagOrNull(
  1. String tag
)
inherited

Returns first nested tag with the matching tag or null.

Method only traverses substructures.

Implementation

@override
T? getByTagOrNull(String tag) => getAllByTag(tag).firstOrNull;