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.
28 lines
829 B
28 lines
829 B
import 'package:hadi_hoda_flutter/features/download/domain/entities/download_entity.dart';
|
|
|
|
sealed class DownloadEvent {
|
|
const DownloadEvent();
|
|
}
|
|
|
|
class StartDownloadEvent extends DownloadEvent {
|
|
final int toLevel;
|
|
|
|
const StartDownloadEvent({required this.toLevel});
|
|
}
|
|
//
|
|
// class StartBatchDownloadEvent extends DownloadEvent {
|
|
// final BatchDownloadParams batchParams;
|
|
// final String? destinationRoute;
|
|
// final Map<String, String>? destinationPathParameters;
|
|
//
|
|
// const StartBatchDownloadEvent({
|
|
// required this.batchParams,
|
|
// this.destinationRoute,
|
|
// this.destinationPathParameters,
|
|
// });
|
|
// }
|
|
|
|
// class GetImagesEvent extends DownloadEvent {}
|
|
// class GetAudiosEvent extends DownloadEvent {}
|
|
class SaveLevelsEvent extends DownloadEvent {}
|
|
class CancelDownloadEvent extends DownloadEvent {}
|