PlanWithStatus constructor
- Plan? plan,
- PlanStatus? status,
- 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;
}