ente/lib/events/collection_updated_event.dart

18 lines
439 B
Dart
Raw Normal View History

import 'package:photos/events/files_updated_event.dart';
2023-06-22 10:51:43 +00:00
import "package:photos/models/file.dart";
2020-10-28 12:03:28 +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
2023-06-22 10:51:43 +00:00
CollectionUpdatedEvent(
this.collectionID,
List<File> updatedFiles,
String? source, {
EventType? type,
}) : super(
updatedFiles,
type: type ?? EventType.addedOrUpdated,
source: source ?? "",
);
2020-10-28 12:03:28 +00:00
}