toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final ciphertext = this.ciphertext;
  final ciphertextCrc32c = this.ciphertextCrc32c;
  final initializationVector = this.initializationVector;
  final initializationVectorCrc32c = this.initializationVectorCrc32c;
  final name = this.name;
  final protectionLevel = this.protectionLevel;
  final tagLength = this.tagLength;
  final verifiedAdditionalAuthenticatedDataCrc32c =
      this.verifiedAdditionalAuthenticatedDataCrc32c;
  final verifiedInitializationVectorCrc32c =
      this.verifiedInitializationVectorCrc32c;
  final verifiedPlaintextCrc32c = this.verifiedPlaintextCrc32c;
  return {
    'ciphertext': ?ciphertext,
    'ciphertextCrc32c': ?ciphertextCrc32c,
    'initializationVector': ?initializationVector,
    'initializationVectorCrc32c': ?initializationVectorCrc32c,
    'name': ?name,
    'protectionLevel': ?protectionLevel,
    'tagLength': ?tagLength,
    'verifiedAdditionalAuthenticatedDataCrc32c':
        ?verifiedAdditionalAuthenticatedDataCrc32c,
    'verifiedInitializationVectorCrc32c': ?verifiedInitializationVectorCrc32c,
    'verifiedPlaintextCrc32c': ?verifiedPlaintextCrc32c,
  };
}