copyWith method
Implementation
RemoteFile copyWith({
String? id,
String? uniqueId,
bool? isUploadingActive,
bool? isUploadingCompleted,
int? uploadedSize,
}) =>
RemoteFile(
id: id ?? this.id,
uniqueId: uniqueId ?? this.uniqueId,
isUploadingActive: isUploadingActive ?? this.isUploadingActive,
isUploadingCompleted: isUploadingCompleted ?? this.isUploadingCompleted,
uploadedSize: uploadedSize ?? this.uploadedSize,
);