Milestones.fromJson constructor

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

Implementation

Milestones.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  orderId = json['orderId'];
  productId = json['productId'];
  blueprintMaster = json['blueprintMaster'] != null
      ? new BlueprintMaster.fromJson(json['blueprintMaster'])
      : null;
  workflowMaster = json['workflowMaster'] != null
      ? new WorkflowMaster.fromJson(json['workflowMaster'])
      : null;
  priority = json['priority'];
  status = json['status'];
  uniqueId = json['uniqueId'];
  merged = json['merged'];
  dependency = json['dependency'];
  processInstanceId = json['processInstanceId'];
  createDate = json['createDate'];
  changeDate = json['changeDate'];
  transactionId = json['transactionId'];
  taskId = json['taskId'];
  formName = json['formName'];
  availableRetry = json['availableRetry'];
  ponr = json['ponr'];
  orderStartDate = json['orderStartDate'];
  orderPaused = json['orderPaused'];
  milestoneExpiryDate = json['milestoneExpiryDate'];
  statusCode = json['statusCode'];
  statusDescription = json['statusDescription'];
  transactionLogs = json['transactionLogs'];
  transactionLogsAsString = json['transactionLogsAsString'];
  setMilestoneExpiryToNull = json['setMilestoneExpiryToNull'];
  stepName = json['stepName'];
  stepId = json['stepId'];
  source = json['source'];
  xTraceId = json['xTraceId'];
  xRequestId = json['xRequestId'];
}