copyWith method

EditProxy copyWith({
  1. int? proxyId,
  2. String? server,
  3. int? port,
  4. bool? enable,
  5. ProxyType? type,
})

Implementation

EditProxy copyWith({
  int? proxyId,
  String? server,
  int? port,
  bool? enable,
  ProxyType? type,
}) => EditProxy(
  proxyId: proxyId ?? this.proxyId,
  server: server ?? this.server,
  port: port ?? this.port,
  enable: enable ?? this.enable,
  type: type ?? this.type,
);