CustomTargetTypeCustomActions.fromMap constructor
CustomTargetTypeCustomActions.fromMap(
- Map<String, dynamic> map
)
Implementation
factory CustomTargetTypeCustomActions.fromMap(Map<String, dynamic> map) {
return CustomTargetTypeCustomActions(
deployAction: pulumi.Input.fromValue(map['deployAction'] as String),
includeSkaffoldModules: (() { final guardedValue = map['includeSkaffoldModules']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<CustomTargetTypeCustomActionsIncludeSkaffoldModule>(guardedValue, (value) => CustomTargetTypeCustomActionsIncludeSkaffoldModule.fromMap((value as Map).cast<String, dynamic>()))); })(),
renderAction: (() { final guardedValue = map['renderAction']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}