copyWith method

Proxy copyWith({
  1. String? server,
  2. int? port,
  3. ProxyType? type,
})

Implementation

Proxy copyWith({String? server, int? port, ProxyType? type}) => Proxy(
  server: server ?? this.server,
  port: port ?? this.port,
  type: type ?? this.type,
);