copyWith method
Implementation
SessionConfigOptionBoolean copyWith({
Object? id = _acpCopyWithAbsent,
Object? name = _acpCopyWithAbsent,
Object? description = _acpCopyWithAbsent,
Object? category = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
Object? type = _acpCopyWithAbsent,
Object? currentValue = _acpCopyWithAbsent,
}) => SessionConfigOptionBoolean(
id: identical(id, _acpCopyWithAbsent) ? this.id : id as SessionConfigId,
name: identical(name, _acpCopyWithAbsent) ? this.name : name as String,
description: identical(description, _acpCopyWithAbsent)
? this.description
: description as String?,
category: identical(category, _acpCopyWithAbsent)
? this.category
: category as SessionConfigOptionCategory?,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
currentValue: identical(currentValue, _acpCopyWithAbsent)
? this.currentValue
: currentValue as bool,
);