fix: Make bytes in encrypted file nullable
This was a mistake to make them non nullable. There are fields in the app where we create this object without bytes.
This commit is contained in:
parent
1c7df57b9e
commit
2cd32a8547
|
|
@ -22,12 +22,12 @@ import 'crypto.dart';
|
|||
|
||||
class EncryptedFile {
|
||||
EncryptedFile({
|
||||
required this.data,
|
||||
this.data,
|
||||
required this.k,
|
||||
required this.iv,
|
||||
required this.sha256,
|
||||
});
|
||||
Uint8List data;
|
||||
Uint8List? data;
|
||||
String k;
|
||||
String iv;
|
||||
String sha256;
|
||||
|
|
|
|||
Loading…
Reference in New Issue