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