copyWith method

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

Implementation

SessionUpdateCurrentModeUpdate copyWith({
  Object? sessionUpdate = _acpCopyWithAbsent,
  Object? currentModeId = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => SessionUpdateCurrentModeUpdate(
  sessionUpdate: identical(sessionUpdate, _acpCopyWithAbsent)
      ? this.sessionUpdate
      : sessionUpdate as String,
  currentModeId: identical(currentModeId, _acpCopyWithAbsent)
      ? this.currentModeId
      : currentModeId as SessionModeId,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);