CiphertextState.fromMap constructor
CiphertextState.fromMap(
- Map<String, dynamic> map
)
Implementation
factory CiphertextState.fromMap(Map<String, dynamic> map) {
return CiphertextState(
ciphertextBlob: (() { final guardedValue = map['ciphertextBlob']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
context: (() { final guardedValue = map['context']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, String>()); })(),
keyId: (() { final guardedValue = map['keyId']; 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); })(),
plaintextWo: (() { final guardedValue = map['plaintextWo']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
plaintextWoVersion: (() { final guardedValue = map['plaintextWoVersion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}