From 646d7e2640734c4c84a02d8b94efa3b70c2534bc Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Mon, 6 Sep 2021 09:35:53 +0200 Subject: [PATCH] fix: revert make bytes in EncryptedFile nullable --- lib/src/utils/crypto/encrypted_file.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/utils/crypto/encrypted_file.dart b/lib/src/utils/crypto/encrypted_file.dart index 1c71a120..754e5ced 100644 --- a/lib/src/utils/crypto/encrypted_file.dart +++ b/lib/src/utils/crypto/encrypted_file.dart @@ -22,12 +22,12 @@ import 'crypto.dart'; class EncryptedFile { EncryptedFile({ - this.data, + required this.data, required this.k, required this.iv, required this.sha256, }); - Uint8List? data; + Uint8List data; String k; String iv; String sha256;