ChatFolder constructor

const ChatFolder({
  1. required ChatFolderName name,
  2. ChatFolderIcon? icon,
  3. required int colorId,
  4. required bool isShareable,
  5. required List<int> pinnedChatIds,
  6. required List<int> includedChatIds,
  7. required List<int> excludedChatIds,
  8. required bool excludeMuted,
  9. required bool excludeRead,
  10. required bool excludeArchived,
  11. required bool includeContacts,
  12. required bool includeNonContacts,
  13. required bool includeBots,
  14. required bool includeGroups,
  15. required bool includeChannels,
})

Implementation

const ChatFolder({
  required this.name,
  this.icon,
  required this.colorId,
  required this.isShareable,
  required this.pinnedChatIds,
  required this.includedChatIds,
  required this.excludedChatIds,
  required this.excludeMuted,
  required this.excludeRead,
  required this.excludeArchived,
  required this.includeContacts,
  required this.includeNonContacts,
  required this.includeBots,
  required this.includeGroups,
  required this.includeChannels,
});