copyWith method

TestProxy copyWith({
  1. String? server,
  2. int? port,
  3. ProxyType? type,
  4. int? dcId,
  5. double? timeout,
})

Implementation

TestProxy copyWith({
  String? server,
  int? port,
  ProxyType? type,
  int? dcId,
  double? timeout,
}) => TestProxy(
  server: server ?? this.server,
  port: port ?? this.port,
  type: type ?? this.type,
  dcId: dcId ?? this.dcId,
  timeout: timeout ?? this.timeout,
);