copyWith method

TorrentRenamePathArgs copyWith({
  1. TorrentId? id,
  2. String? oldPath,
  3. String? newName,
})

Implementation

TorrentRenamePathArgs copyWith({
  TorrentId? id,
  String? oldPath,
  String? newName,
}) {
  return TorrentRenamePathArgs(
    id: id ?? this.id,
    oldPath: oldPath ?? this.oldPath,
    newName: newName ?? this.newName,
  );
}