RawDecryptRequest.fromJson constructor

RawDecryptRequest.fromJson(
  1. Map json_
)

Implementation

RawDecryptRequest.fromJson(core.Map json_)
    : this(
        additionalAuthenticatedData:
            json_.containsKey('additionalAuthenticatedData')
                ? json_['additionalAuthenticatedData'] as core.String
                : null,
        additionalAuthenticatedDataCrc32c:
            json_.containsKey('additionalAuthenticatedDataCrc32c')
                ? json_['additionalAuthenticatedDataCrc32c'] as core.String
                : null,
        ciphertext: json_.containsKey('ciphertext')
            ? json_['ciphertext'] as core.String
            : null,
        ciphertextCrc32c: json_.containsKey('ciphertextCrc32c')
            ? json_['ciphertextCrc32c'] as core.String
            : null,
        initializationVector: json_.containsKey('initializationVector')
            ? json_['initializationVector'] as core.String
            : null,
        initializationVectorCrc32c:
            json_.containsKey('initializationVectorCrc32c')
                ? json_['initializationVectorCrc32c'] as core.String
                : null,
        tagLength: json_.containsKey('tagLength')
            ? json_['tagLength'] as core.int
            : null,
      );