EncryptRequest.fromJson constructor

EncryptRequest.fromJson(
  1. Map json_
)

Implementation

EncryptRequest.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,
        plaintext: json_.containsKey('plaintext')
            ? json_['plaintext'] as core.String
            : null,
        plaintextCrc32c: json_.containsKey('plaintextCrc32c')
            ? json_['plaintextCrc32c'] as core.String
            : null,
      );