copyWith method

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

Implementation

SessionUpdateAvailableCommandsUpdate copyWith({
  Object? sessionUpdate = _acpCopyWithAbsent,
  Object? availableCommands = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => SessionUpdateAvailableCommandsUpdate(
  sessionUpdate: identical(sessionUpdate, _acpCopyWithAbsent)
      ? this.sessionUpdate
      : sessionUpdate as String,
  availableCommands: identical(availableCommands, _acpCopyWithAbsent)
      ? this.availableCommands
      : availableCommands as List<AvailableCommand>,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);