RegexTransformationOptions class

Configuration options for regex-based text transformations.

This class defines the parameters needed to apply regular expression transformations to extracted data, allowing for pattern matching and group extraction from text content.

Constructors

RegexTransformationOptions({required String regex, int? regexGroup})
Creates a new RegexTransformationOptions instance.
RegexTransformationOptions.fromJson(String source)
factory
RegexTransformationOptions.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
regex → String
The regular expression pattern to match against the input text.
final
regexGroup → int?
The specific regex group to extract from the match.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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