CreateDeploymentResponse.fromJson constructor

CreateDeploymentResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateDeploymentResponse.fromJson(Map<String, dynamic> json) {
  return CreateDeploymentResponse(
    autoDeployed: json['autoDeployed'] as bool?,
    createdDate: timeStampFromJson(json['createdDate']),
    deploymentId: json['deploymentId'] as String?,
    deploymentStatus:
        (json['deploymentStatus'] as String?)?.toDeploymentStatus(),
    deploymentStatusMessage: json['deploymentStatusMessage'] as String?,
    description: json['description'] as String?,
  );
}