LastDeploymentInfo.fromJson constructor

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

Implementation

factory LastDeploymentInfo.fromJson(Map<String, dynamic> json) {
  return LastDeploymentInfo(
    createTime: timeStampFromJson(json['createTime']),
    deploymentId: json['deploymentId'] as String?,
    endTime: timeStampFromJson(json['endTime']),
    status: (json['status'] as String?)?.toDeploymentStatus(),
  );
}