ScrubDates class
A class named ScrubDates
that extends ScrubWithRegEx
.
ScrubDates
uses a regular expression to scrub date strings in a specific format.
- Inheritance
-
- Object
- ScrubWithRegEx
- ScrubDates
Constructors
- ScrubDates()
-
Creates a
ScrubDates
instance with a predefined pattern to match date strings. Replaces matched date strings with a fixed placeholder<date>
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pattern → String
-
finalinherited
- replacementFunction → String Function(String)?
-
finalinherited
- 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
-
scrub(
String input) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited