copyWith method

SessionUpdatePlan copyWith({
  1. Object? sessionUpdate = _acpCopyWithAbsent,
  2. Object? entries = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
})

Implementation

SessionUpdatePlan copyWith({
  Object? sessionUpdate = _acpCopyWithAbsent,
  Object? entries = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => SessionUpdatePlan(
  sessionUpdate: identical(sessionUpdate, _acpCopyWithAbsent)
      ? this.sessionUpdate
      : sessionUpdate as String,
  entries: identical(entries, _acpCopyWithAbsent)
      ? this.entries
      : entries as List<PlanEntry>,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);