SecretCiphertextState.fromMap constructor

SecretCiphertextState.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SecretCiphertextState.fromMap(Map<String, dynamic> map) {
  return SecretCiphertextState(
    additionalAuthenticatedData: (() { final guardedValue = map['additionalAuthenticatedData']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    ciphertext: (() { final guardedValue = map['ciphertext']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    cryptoKey: (() { final guardedValue = map['cryptoKey']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    plaintext: (() { final guardedValue = map['plaintext']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}