toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalAuthenticatedData != null)
        'additionalAuthenticatedData': additionalAuthenticatedData!,
      if (additionalAuthenticatedDataCrc32c != null)
        'additionalAuthenticatedDataCrc32c':
            additionalAuthenticatedDataCrc32c!,
      if (initializationVector != null)
        'initializationVector': initializationVector!,
      if (initializationVectorCrc32c != null)
        'initializationVectorCrc32c': initializationVectorCrc32c!,
      if (plaintext != null) 'plaintext': plaintext!,
      if (plaintextCrc32c != null) 'plaintextCrc32c': plaintextCrc32c!,
    };