toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (ciphertext != null) 'ciphertext': ciphertext!,
if (ciphertextCrc32c != null) 'ciphertextCrc32c': ciphertextCrc32c!,
if (initializationVector != null)
'initializationVector': initializationVector!,
if (initializationVectorCrc32c != null)
'initializationVectorCrc32c': initializationVectorCrc32c!,
if (name != null) 'name': name!,
if (protectionLevel != null) 'protectionLevel': protectionLevel!,
if (tagLength != null) 'tagLength': tagLength!,
if (verifiedAdditionalAuthenticatedDataCrc32c != null)
'verifiedAdditionalAuthenticatedDataCrc32c':
verifiedAdditionalAuthenticatedDataCrc32c!,
if (verifiedInitializationVectorCrc32c != null)
'verifiedInitializationVectorCrc32c':
verifiedInitializationVectorCrc32c!,
if (verifiedPlaintextCrc32c != null)
'verifiedPlaintextCrc32c': verifiedPlaintextCrc32c!,
};