Replacement class
A utility class for performing string replacements.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
auto(
String value, [String? replacement]) → String - Automatically replaces characters based on predefined replacement rules.
-
multiple(
String value, List< String> replacements, List<String> regex) → String - Replaces multiple occurrences of characters in the input string with corresponding replacements.
-
single(
String value, String replacement, List< String> ? regex) → String - Replaces specific characters in the input string with the specified replacement.