PlanWithStatus constructor

PlanWithStatus({
  1. Plan? plan,
  2. PlanStatus? status,
  3. Iterable<PlanStatus>? statusHistory,
})

Implementation

factory PlanWithStatus({
  Plan? plan,
  PlanStatus? status,
  $core.Iterable<PlanStatus>? statusHistory,
}) {
  final $result = create();
  if (plan != null) {
    $result.plan = plan;
  }
  if (status != null) {
    $result.status = status;
  }
  if (statusHistory != null) {
    $result.statusHistory.addAll(statusHistory);
  }
  return $result;
}