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
WebProxyCarrier copyWith({
int? id,
int? proxyId,
String? url,
String? origin,
String? pathPrefix,
String? bridgeObjectName,
bool? isTemporary,
}) => WebProxyCarrier(
id: id ?? this.id,
proxyId: proxyId ?? this.proxyId,
url: url ?? this.url,
origin: origin ?? this.origin,
pathPrefix: pathPrefix ?? this.pathPrefix,
bridgeObjectName: bridgeObjectName ?? this.bridgeObjectName,
isTemporary: isTemporary ?? this.isTemporary,
);