copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
AddedProxy copyWith({
int? id,
int? lastUsedDate,
bool? isEnabled,
String? comment,
Proxy? proxy,
dynamic extra,
int? clientId,
}) => AddedProxy(
id: id ?? this.id,
lastUsedDate: lastUsedDate ?? this.lastUsedDate,
isEnabled: isEnabled ?? this.isEnabled,
comment: comment ?? this.comment,
proxy: proxy ?? this.proxy,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);