CompilationResultArgs.fromMap constructor
CompilationResultArgs.fromMap(
- Map<String, dynamic> map
)
Implementation
factory CompilationResultArgs.fromMap(Map<String, dynamic> map) {
return CompilationResultArgs(
codeCompilationConfig: (() { final guardedValue = map['codeCompilationConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(CodeCompilationConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
gitCommitish: (() { final guardedValue = map['gitCommitish']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
location: (() { final guardedValue = map['location']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
project: (() { final guardedValue = map['project']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
releaseConfig: (() { final guardedValue = map['releaseConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
repositoryId: pulumi.Input.fromValue(map['repositoryId'] as String),
workspace: (() { final guardedValue = map['workspace']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}