CensorElement class
A censor element is a single element to censor from requests and responses.
Constructors
- CensorElement(String name, {bool caseSensitive = false})
- Creates a new CensorElement with the given name and caseSensitive flag.
Properties
- caseSensitive → bool
-
Whether or not the element should be censored only when matching case exactly.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name or key of the element to censor.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
matches(
String key) → bool -
Returns true if the given
key
matches this element. -
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