RudderDBEncryption class
A plugin that provides database encryption functionality for RudderStack Flutter SDK.
This plugin allows you to encrypt the local database used by RudderStack SDK to store events before they are sent to analytics destinations.
Example usage:
final dbEncryption = RudderDBEncryption(true, 'your-encryption-key');
Pass the dbEncryption configuration to the RudderStack SDK before initialization.
Constructors
- RudderDBEncryption(dynamic enabled, dynamic key)
- Creates a new instance of RudderDBEncryption.
Properties
Methods
-
addDBEncryptionToConfig(
) → void - Adds the database encryption configuration to the RudderStack SDK. This method is called internally by the RudderStack SDK to apply the encryption settings.
-
getMap(
) → Map - Returns a map representation of the encryption configuration.
-
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