ClusterNodeConfigSandboxConfig.fromMap constructor

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

Implementation

factory ClusterNodeConfigSandboxConfig.fromMap(Map<String, dynamic> map) {
  return ClusterNodeConfigSandboxConfig(
    sandboxType: (() { final guardedValue = map['sandboxType']; 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); })(),
  );
}