SoftwareRecipeStepExtractArchive.fromMap constructor

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

Implementation

factory SoftwareRecipeStepExtractArchive.fromMap(Map<String, dynamic> map) {
  return SoftwareRecipeStepExtractArchive(
    artifactId: pulumi.Input.fromValue(map['artifactId'] as String),
    destination: (() { final guardedValue = map['destination']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    type: pulumi.Input.fromValue(SoftwareRecipeStepExtractArchiveType.fromValue(map['type']! as String)),
  );
}