StringBetweenParserOptions class
Configuration options for string between parser behavior.
This class contains configuration for extracting text between two specified strings.
The string between parser searches for content that appears between a specified start string and end string in the source text. This is useful for extracting specific sections of text from HTML, JSON, or any other text-based content.
Example usage:
final options = StringBetweenParserOptions(
start: '<title>',
end: '</title>'
);
Constructors
- StringBetweenParserOptions.new({required String start, required String end})
- Creates a new StringBetweenParserOptions instance.
- StringBetweenParserOptions.fromJson(String source)
-
factory
-
StringBetweenParserOptions.fromMap(Map<
String, dynamic> map) -
factory
Properties
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