ParserOptions class

Configuration options specific to individual parser types.

This class contains parser-specific configuration that controls how a parser behaves during data extraction, separate from data transformations that are applied after extraction.

Use the appropriate named constructor for the parser type you're configuring:

Constructors

ParserOptions.fromJson(String json)
Creates a ParserOptions instance from a JSON string.
factory
ParserOptions.fromMap(Map<String, dynamic> map)
Creates a ParserOptions instance from a Map.
factory
ParserOptions.http({required HttpParserOptions options})
Creates ParserOptions for HTTP parser configuration
ParserOptions.sibling({required SiblingParserOptions options})
Creates ParserOptions for sibling parser configuration
ParserOptions.staticValue({required StaticValueParserOptions options})
Creates ParserOptions for static value parser configuration
ParserOptions.stringBetween({required StringBetweenParserOptions options})
Creates ParserOptions for string between parser configuration
ParserOptions.table({required TableParserOptions options})
Creates ParserOptions for table parser configuration
ParserOptions.urlParam({required UrlParamParserOptions options})
Creates ParserOptions for url parameter parser configuration

Properties

hashCode int
The hash code for this object.
no setterinherited
http HttpParserOptions?
HTTP request configuration options
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sibling SiblingParserOptions?
Sibling element configuration options
getter/setter pair
staticValue StaticValueParserOptions?
Static value configuration options
getter/setter pair
stringBetween StringBetweenParserOptions?
String between configuration options
getter/setter pair
table TableParserOptions?
Table processing configuration options
getter/setter pair
urlParam UrlParamParserOptions?
URL parameter configuration options
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the ParserOptions instance to JSON string.
toMap() Map<String, dynamic>
Converts the ParserOptions instance to a Map.
toString() String
A string representation of this object.
inherited

Operators

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