migrated encryption_result.dart to null safety
This commit is contained in:
parent
7b049cf3b9
commit
3e78d67fe0
|
@ -1,5 +1,3 @@
|
||||||
// @dart=2.9
|
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
||||||
class EncryptionResult {
|
class EncryptionResult {
|
||||||
|
@ -8,5 +6,10 @@ class EncryptionResult {
|
||||||
final Uint8List header;
|
final Uint8List header;
|
||||||
final Uint8List nonce;
|
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,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue