copyWith method

PlanEntry copyWith({
  1. Object? content = _acpCopyWithAbsent,
  2. Object? priority = _acpCopyWithAbsent,
  3. Object? status = _acpCopyWithAbsent,
  4. Object? meta = _acpCopyWithAbsent,
})

Implementation

PlanEntry copyWith({
  Object? content = _acpCopyWithAbsent,
  Object? priority = _acpCopyWithAbsent,
  Object? status = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => PlanEntry(
  content: identical(content, _acpCopyWithAbsent)
      ? this.content
      : content as String,
  priority: identical(priority, _acpCopyWithAbsent)
      ? this.priority
      : priority as PlanEntryPriority,
  status: identical(status, _acpCopyWithAbsent)
      ? this.status
      : status as PlanEntryStatus,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);