HostPathVolumeSourcePatch.fromMap constructor
HostPathVolumeSourcePatch.fromMap(
- Map<String, dynamic> map
)
Implementation
factory HostPathVolumeSourcePatch.fromMap(Map<String, dynamic> map) {
return HostPathVolumeSourcePatch(
path: (() { final guardedValue = map['path']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}