ente/lib/events/collection_updated_event.dart

15 lines
364 B
Dart
Raw Normal View History

// @dart=2.9
import 'package:photos/events/files_updated_event.dart';
2020-10-28 12:03:28 +00:00
class CollectionUpdatedEvent extends FilesUpdatedEvent {
2020-10-28 12:03:28 +00:00
final int collectionID;
CollectionUpdatedEvent(this.collectionID, updatedFiles, source, {type})
: super(
updatedFiles,
type: type ?? EventType.addedOrUpdated,
source: source ?? "",
);
2020-10-28 12:03:28 +00:00
}