2021-04-23 21:37:04 +00:00
|
|
|
import 'package:photos/events/files_updated_event.dart';
|
2020-10-28 12:03:28 +00:00
|
|
|
|
2021-04-23 21:37:04 +00:00
|
|
|
class CollectionUpdatedEvent extends FilesUpdatedEvent {
|
2022-12-30 09:44:52 +00:00
|
|
|
final int? collectionID;
|
2020-10-28 12:03:28 +00:00
|
|
|
|
2022-11-11 11:30:37 +00:00
|
|
|
CollectionUpdatedEvent(this.collectionID, updatedFiles, source, {type})
|
|
|
|
: super(
|
|
|
|
updatedFiles,
|
|
|
|
type: type ?? EventType.addedOrUpdated,
|
|
|
|
source: source ?? "",
|
|
|
|
);
|
2020-10-28 12:03:28 +00:00
|
|
|
}
|