copyWith method

SetSessionConfigOptionRequestBoolean copyWith({
  1. Object? sessionId = _acpCopyWithAbsent,
  2. Object? configId = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
  4. Object? value = _acpCopyWithAbsent,
  5. Object? type = _acpCopyWithAbsent,
})

Implementation

SetSessionConfigOptionRequestBoolean copyWith({
  Object? sessionId = _acpCopyWithAbsent,
  Object? configId = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
  Object? value = _acpCopyWithAbsent,
  Object? type = _acpCopyWithAbsent,
}) => SetSessionConfigOptionRequestBoolean(
  sessionId: identical(sessionId, _acpCopyWithAbsent)
      ? this.sessionId
      : sessionId as SessionId,
  configId: identical(configId, _acpCopyWithAbsent)
      ? this.configId
      : configId as SessionConfigId,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
  value: identical(value, _acpCopyWithAbsent) ? this.value : value as bool,
  type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
);