StaticValueParserOptions class

Configuration options for static value parser behavior.

This class contains configuration for returning static values without any data extraction. It's useful when you need to return predefined values instead of extracting data from web pages.

Example usage:

// Return a static string
StaticValueParserOptions(stringValue: "Hello World")

// Return a static map
StaticValueParserOptions(mapValue: {"key": "value", "count": 42})

Constructors

StaticValueParserOptions.new({String? stringValue, Map<String, Object>? mapValue})
Creates a new instance of StaticValueParserOptions.
StaticValueParserOptions.fromJson(String source)
factory
StaticValueParserOptions.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mapValue Map<String, Object>?
Static map value to return when parsing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringValue String?
Static string value to return when parsing.
final

Methods

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

Operators

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