FlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsd.fromMap constructor
FlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsd.fromMap()
Implementation
factory FlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsd.fromMap(Map<String, dynamic> map) {
return FlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsd(
cents: (() { final guardedValue = map['cents']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
dollars: (() { final guardedValue = map['dollars']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
tenthFractionsOfACent: (() { final guardedValue = map['tenthFractionsOfACent']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}