copyWith method

WaitForTerminalExitResponse copyWith({
  1. Object? exitCode = _acpCopyWithAbsent,
  2. Object? signal = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
})

Implementation

WaitForTerminalExitResponse copyWith({
  Object? exitCode = _acpCopyWithAbsent,
  Object? signal = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => WaitForTerminalExitResponse(
  exitCode: identical(exitCode, _acpCopyWithAbsent)
      ? this.exitCode
      : exitCode as int?,
  signal: identical(signal, _acpCopyWithAbsent)
      ? this.signal
      : signal as String?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);