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