copyWith method
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,
);