toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'byproducts': ?pulumi.Input.mapOptionalInputValue<ByProducts, Map<String, dynamic>>(byproducts, (value) => value.toMap()),
'command': ?command,
'environment': ?pulumi.Input.mapOptionalInputValue<Environment, Map<String, dynamic>>(environment, (value) => value.toMap()),
'materials': ?pulumi.Input.mapOptionalInputValue<List<GrafeasV1beta1IntotoArtifact>, List<Map<String, dynamic>>>(materials, (value) => pulumi.Input.encodeList<GrafeasV1beta1IntotoArtifact, Map<String, dynamic>>(value, (value) => value.toMap())),
'products': ?pulumi.Input.mapOptionalInputValue<List<GrafeasV1beta1IntotoArtifact>, List<Map<String, dynamic>>>(products, (value) => pulumi.Input.encodeList<GrafeasV1beta1IntotoArtifact, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}