IngressStatus.fromJson constructor
Creates a IngressStatus from JSON data.
Implementation
factory IngressStatus.fromJson(Map<String, dynamic> json) {
final tempLoadBalancerJson = json['loadBalancer'];
final IngressLoadBalancerStatus? tempLoadBalancer =
tempLoadBalancerJson != null
? IngressLoadBalancerStatus.fromJson(tempLoadBalancerJson)
: null;
return IngressStatus(
loadBalancer: tempLoadBalancer,
);
}