EndpointConditions.fromJson constructor
Creates a EndpointConditions from JSON data.
Implementation
factory EndpointConditions.fromJson(Map<String, dynamic> json) {
final tempReadyJson = json['ready'];
final tempServingJson = json['serving'];
final tempTerminatingJson = json['terminating'];
final bool? tempReady = tempReadyJson;
final bool? tempServing = tempServingJson;
final bool? tempTerminating = tempTerminatingJson;
return EndpointConditions(
ready: tempReady,
serving: tempServing,
terminating: tempTerminating,
);
}