You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
408 B
18 lines
408 B
import 'package:hadi_hoda_flutter/core/status/base_status.dart';
|
|
import 'package:hadi_hoda_flutter/features/download/domain/entities/download_entity.dart';
|
|
|
|
class DownloadState {
|
|
final BaseStatus status;
|
|
|
|
const DownloadState({
|
|
this.status = const BaseInit(),
|
|
});
|
|
|
|
DownloadState copyWith({
|
|
BaseStatus? status,
|
|
}) {
|
|
return DownloadState(
|
|
status: status ?? this.status,
|
|
);
|
|
}
|
|
}
|