Filter class
Bad Word Filter
Constructors
- Filter()
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
-
clean(
String stringToObfuscate) → String - replace tests a string, replacing bad words with an asterisk length string of equal length
-
isProfane(
String stringToTest) → bool - isProfane returns a boolean value representing if the string provided contains a profane word
-
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