MaskingConfig class
A class which determines what should be masked during Session Replay.
See also:
- SessionReplayMaskingScope for use of MaskingConfig
Constructors
- MaskingConfig({bool maskTexts, bool maskImages, bool maskTextFields})
-
A factory used to create a custom MaskingConfig
constfactory
- MaskingConfig.maskAll()
-
Returns a MaskingConfig where all values are set to true.
factory
- MaskingConfig.unMaskAll()
-
Returns a MaskingConfig where all values are set to false.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maskImages → bool?
-
If true, any widget that creates a RenderImage will be masked
during Session Replay. E.g: Image
final
- maskTextFields → bool?
-
If true, any widget that creates a RenderEditable will be masked
during Session Replay. E.g: TextFormField, TextField
final
- maskTexts → bool?
-
If true, any widget that creates a RenderParagraph will be masked
during Session Replay. E.g: Text, RichText
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
merge(
MaskingConfig config) → MaskingConfig -
Returns a new MaskingConfig that is a combination of this config and the
given other
config
-
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