copyWith method

CurrentModeUpdate copyWith({
  1. Object? currentModeId = _acpCopyWithAbsent,
  2. Object? meta = _acpCopyWithAbsent,
})

Implementation

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