RawEncryptRequest.fromJson constructor

RawEncryptRequest.fromJson(
  1. Map json_
)

Implementation

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