Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

348 B
Raw Blame
import 'package:photos/events/event.dart';

class ContactsChangedEvent extends Event {
  final Set<int>? contactUserIds;

  ContactsChangedEvent({this.contactUserIds});

  bool matchesContactUserId(int? userId) {
    if (userId == null) {
      return false;
    }
    return contactUserIds == null ? true : contactUserIds!.contains(userId);
  }
}