toJson method
Implementation
Map<String, dynamic> toJson() => {
'label': label,
'address': address,
'lock': lock,
'enc-alg': 'aes-256-gcm',
'salt': salt,
'isDefault': isDefault,
'publicKey': publicKey,
'signatureScheme': encryptedKey.algorithm.defaultSchema.label,
'algorithm': encryptedKey.algorithm.label,
'parameters': encryptedKey.parameters,
'key': Convert.bytesToBase64(encryptedKey.raw),
'hash': hash,
'extra': extra,
};