copyWith method

AddedProxy copyWith({
  1. int? id,
  2. int? lastUsedDate,
  3. bool? isEnabled,
  4. String? comment,
  5. Proxy? proxy,
})

Implementation

AddedProxy copyWith({
  int? id,
  int? lastUsedDate,
  bool? isEnabled,
  String? comment,
  Proxy? proxy,
}) =>
    AddedProxy(
      id: id ?? this.id,
      lastUsedDate: lastUsedDate ?? this.lastUsedDate,
      isEnabled: isEnabled ?? this.isEnabled,
      comment: comment ?? this.comment,
      proxy: proxy ?? this.proxy,
    );