toJson method
Serializes an Encryption to its RWPM JSON representation.
Implementation
@override
Map<String, dynamic> toJson() => {
"algorithm": algorithm,
if (compression != null) "compression": compression,
if (originalLength != null) "originalLength": originalLength,
if (profile != null) "profile": profile,
if (scheme != null) "scheme": scheme,
};