SiblingParserOptions constructor

SiblingParserOptions({
  1. SiblingDirection? direction,
  2. List<String>? where,
})

Creates a new instance of SiblingParserOptions.

direction specifies the direction to search for sibling elements. If null, the parser will use a default direction or search in both directions.

where provides an optional filter list of strings that the sibling element's text content must contain. If null, no text filtering is applied.

Implementation

SiblingParserOptions({
  this.direction,
  this.where,
});