copyWith method

File copyWith({
  1. int? id,
  2. int? size,
  3. int? expectedSize,
  4. LocalFile? local,
  5. RemoteFile? remote,
})

Implementation

File copyWith({
  int? id,
  int? size,
  int? expectedSize,
  LocalFile? local,
  RemoteFile? remote,
}) => File(
  id: id ?? this.id,
  size: size ?? this.size,
  expectedSize: expectedSize ?? this.expectedSize,
  local: local ?? this.local,
  remote: remote ?? this.remote,
);