Add toString for KeyAttributes

This commit is contained in:
Vishnu Mohandas 2020-09-14 12:23:53 +05:30
parent 9e641ba57d
commit aba132058d

View file

@ -57,4 +57,9 @@ class KeyAttributes {
factory KeyAttributes.fromJson(String source) =>
KeyAttributes.fromMap(json.decode(source));
@override
String toString() {
return 'KeyAttributes(kekSalt: $kekSalt, kekHash: $kekHash, kekHashSalt: $kekHashSalt, encryptedKey: $encryptedKey, encryptedKeyIV: $encryptedKeyIV)';
}
}