ScaleStatus.fromJson constructor
Creates a ScaleStatus from JSON data.
Implementation
factory ScaleStatus.fromJson(Map<String, dynamic> json) {
final tempReplicasJson = json['replicas'];
final tempSelectorJson = json['selector'];
final int tempReplicas = tempReplicasJson;
final String? tempSelector = tempSelectorJson;
return ScaleStatus(
replicas: tempReplicas,
selector: tempSelector,
);
}