SecurityConfig constructor
SecurityConfig({})
Creates a SecurityConfig instance.
All parameters are required:
enableEncryption: Whether data encryption is enabled.enableSecureStorage: Whether secure storage mechanisms should be used for sensitive data.sslPinning: Whether SSL pinning is enabled for network connections.encryptionKey: The encryption key used for data encryption.
Security Warning: Do not expose the encryptionKey in client-side
code.
Implementation
SecurityConfig({
required this.enableEncryption,
required this.enableSecureStorage,
required this.sslPinning,
required this.encryptionKey,
});