migrated encryption_result.dart to null safety

This commit is contained in:
ashilkn 2022-09-13 15:39:39 +05:30
parent 7b049cf3b9
commit 3e78d67fe0

View file

@ -1,5 +1,3 @@
// @dart=2.9
import 'dart:typed_data';
class EncryptionResult {
@ -8,5 +6,10 @@ class EncryptionResult {
final Uint8List header;
final Uint8List nonce;
EncryptionResult({this.encryptedData, this.key, this.header, this.nonce});
EncryptionResult({
required this.encryptedData,
required this.key,
required this.header,
required this.nonce,
});
}