copyWith method

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

Implementation

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