Replace class
A preprocessor that replaces all substrings that match pattern with replacement.
- Inheritance
-
- Object
- Preprocessor
- Replace
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onlyFirst → bool
-
Indicate whether only the first matching substring
should be replaced for each field.
final
- pattern → String
-
The pattern to match substrings to be replaced.
final
- replacement → String
-
The text to be inserted in place of the matched substrings.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited