copyWith method

FileUploadResponse copyWith({
  1. String? status,
  2. String? message,
  3. FileUploadData? data,
})

Implementation

FileUploadResponse copyWith({
  String? status,
  String? message,
  FileUploadData? data,
}) {
  return FileUploadResponse(
    status: status ?? this.status,
    message: message ?? this.message,
    data: data ?? this.data,
  );
}