EnterpriseKeyTestingOptions.fromMap constructor
EnterpriseKeyTestingOptions.fromMap(
- Map<String, dynamic> map
)
Implementation
factory EnterpriseKeyTestingOptions.fromMap(Map<String, dynamic> map) {
return EnterpriseKeyTestingOptions(
testingChallenge: (() { final guardedValue = map['testingChallenge']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
testingScore: (() { final guardedValue = map['testingScore']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
);
}