copyWith method

FileUploadData copyWith({
  1. String? fileName,
  2. int? fileSize,
})

Implementation

FileUploadData copyWith({
  String? fileName,
  int? fileSize,
}) {
  return FileUploadData(
    fileName: fileName ?? this.fileName,
    fileSize: fileSize ?? this.fileSize,
  );
}