GetPlanResponse constructor

GetPlanResponse({
  1. PlanWithStatus? currentPlanWithStatus,
  2. Iterable<PlanWithStatus>? replanHistory,
})

Implementation

factory GetPlanResponse({
  PlanWithStatus? currentPlanWithStatus,
  $core.Iterable<PlanWithStatus>? replanHistory,
}) {
  final $result = create();
  if (currentPlanWithStatus != null) {
    $result.currentPlanWithStatus = currentPlanWithStatus;
  }
  if (replanHistory != null) {
    $result.replanHistory.addAll(replanHistory);
  }
  return $result;
}