NodeDaemonEndpoints.fromJson constructor
Creates a NodeDaemonEndpoints from JSON data.
Implementation
factory NodeDaemonEndpoints.fromJson(Map<String, dynamic> json) {
final tempKubeletEndpointJson = json['kubeletEndpoint'];
final DaemonEndpoint? tempKubeletEndpoint = tempKubeletEndpointJson != null
? DaemonEndpoint.fromJson(tempKubeletEndpointJson)
: null;
return NodeDaemonEndpoints(
kubeletEndpoint: tempKubeletEndpoint,
);
}