ContainerResizePolicy.fromJson constructor
Creates a ContainerResizePolicy from JSON data.
Implementation
factory ContainerResizePolicy.fromJson(Map<String, dynamic> json) {
final tempResourceNameJson = json['resourceName'];
final tempRestartPolicyJson = json['restartPolicy'];
final String tempResourceName = tempResourceNameJson;
final String tempRestartPolicy = tempRestartPolicyJson;
return ContainerResizePolicy(
resourceName: tempResourceName,
restartPolicy: tempRestartPolicy,
);
}