copyWith method

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

Implementation

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