DecryptRequest.fromJson constructor

DecryptRequest.fromJson(
  1. Map json_
)

Implementation

DecryptRequest.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,
      );