SecureStorage constructor

SecureStorage(
  1. String encryptionKey
)

Implementation

SecureStorage(String encryptionKey) {
  final key = encrypt.Key.fromUtf8(encryptionKey);
  _encrypter = encrypt.Encrypter(encrypt.AES(key));
}