IngressClassSpec.fromJson constructor
Creates a IngressClassSpec from JSON data.
Implementation
factory IngressClassSpec.fromJson(Map<String, dynamic> json) {
final tempControllerJson = json['controller'];
final tempParametersJson = json['parameters'];
final String? tempController = tempControllerJson;
final IngressClassParametersReference? tempParameters =
tempParametersJson != null
? IngressClassParametersReference.fromJson(tempParametersJson)
: null;
return IngressClassSpec(
controller: tempController,
parameters: tempParameters,
);
}