Profanity class
Creates an Profanity.
Properties
Methods
-
censor(
String characters, {CensorBleepType bleepType = CensorBleepType.asterisk, CensorType censorType = CensorType.full}) → String - Censors the profanity from a string sequence.
-
containsProfanity(
String word) → bool - Checks if string contains a profanity in word.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
profanityList(
String languageCode) → List< String> - Sets the profanity list by the language code.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited